error saving figure: inner matrix dimension must agree

1 view (last 30 days)
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 Comment
Jan
Jan on 19 Oct 2011
Please post the command you are using for saving. Does the error message contain any further information? Perhaps a line number?

Sign in to comment.

Accepted Answer

Philipp
Philipp on 19 Oct 2011
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

More Answers (1)

Image Analyst
Image Analyst on 19 Oct 2011
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.

Categories

Find more on Interactive Control and Callbacks in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!