Unrecognised option lockaxesticks

2 次查看(过去 30 天)
Giorgos
Giorgos 2012-4-22
编辑: M 2013-11-30
Hi,
I try to save a Matlab figure in .png extension but I get following error: "Unrecognised option lockaxesticks"
What does this mean? It is the first time I get this error and I do not find any help about it. I get this error also for .jpg, .bmp, .tif and .pdf extensions. I can save to .fig extension though.
I created the figure by loading an old .fig file and adding data to the original plot via the plot browser if this helps. I have done it before, without any error..
Thanks!
Giorgos
  2 个评论
Oleg Komarov
Oleg Komarov 2012-4-22
Post the relecant code: http://www.mathworks.com/matlabcentral/answers/6200-tutorial-how-to-ask-a-question-on-answers-and-get-a-fast-answer
Mark S.
Mark S. 2012-7-25
I am having this identical problem currently. I think it is possible that I had generated the figure in a newer version of Matlab (2011, a I think) and now I want to edit it and export it using Matlab 2010a. Exporting as a .jpg or .pdf results in the error: "Unrecognised option lockaxesticks" and the file does not save. Other options may as well. The only way that I can sucessfully save the file currently is to save it as a .fig. This is happening with all of my most recent figures (possibly those that I had created on the newer version of matlab?). However, my older figures will still export.
I just freshly installed Matlab 2012a and it did export the desired figure to pdf without giving this error. Is it possible that starting with Matlab 2011 a property name was modified?

请先登录,再进行评论。

回答(2 个)

Giorgos
Giorgos 2012-5-17
Hi Oleg,
There is no code. I loaded a .fig file I made earlier. When I load it (no problems with that), and I try to save the file again (even with not changing anything) I get the error "unrecognised option lockaxesticks"..

M
M 2013-11-16
编辑:M 2013-11-30
If anyone still freaks out about this BUG, as i did for this entire day:
- go to C:\Users\"YourName"\AppData\Roaming\MathWorks\MATLAB\R2010a\ExportSetup
- open default.txt
- delete the line "lockaxesticks off/on"
Problem solved ;)
-------edit-------
this solved the problem just once. Next day it pops up again and no way to solve it this time...
Any solutions? Like this Matlab is worthless...

类别

Help CenterFile Exchange 中查找有关 Environment and Settings 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by