width and height of figures

I use a call like
matlab2tikz( 'myfile.tikz', 'height', '\figureheight', 'width', '\figurewidth' );
and in my myfile.tikz it says, that
width=\figurewidth,
height=0.784562\figurewidth,

I would expect heigth=\figureheight,...

Is this a bug?

yes. :)

Addthis