error saving figure: inner matrix dimension must agree

hello everybody,
i came across a problem which continues to steal me a lot of time, because i am not able to save a matlab figure as a .fig file. i always get the message
error saving figure: inner matrix dimension must agree
does anybody know that problem or has a tipp for me how to track down the solution?
thanks a lot philipp

1 个评论

Please post the command you are using for saving. Does the error message contain any further information? Perhaps a line number?

请先登录,再进行评论。

 采纳的回答

sorry for that question. i wrote a function pan, which overloads the built in function. removed it from the path and everything is fine again. thanks

更多回答(1 个)

Our daily "how do I save a figure?" question...
My answer is to read the FAQ: http://matlab.wikia.com/wiki/FAQ#How_do_I_save_my_figure.2C_axes.2C_or_image.3F_I.27m_having_trouble_with_the_built_in_MATLAB_functions. In the rare event export_fig doesn't do it for you, ask Oliver - he always seems wiling to help or make other suggestions.

类别

帮助中心File Exchange 中查找有关 Creating, Deleting, and Querying Graphics Objects 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by