when edit figure error "undefined function mtimes for input arguments of type string"

1 次查看(过去 30 天)
when I try to edit a figure with the edit editor, everything I try to change with the GUI appers the error "undefined function mtimes for input arguments of type string." For every single thing I try to change (e.g., even the font, or the x axis limit).

采纳的回答

Maria Lazzaroni
Maria Lazzaroni 2022-4-29
SOLVED
restoredefaultpath; rehash toolboxcache

更多回答(2 个)

Bruno Luong
Bruno Luong 2022-4-28
can you type
dbstop if error
on MATLAB command window, then try to trigger the error?
  3 个评论
Bruno Luong
Bruno Luong 2022-4-29
编辑:Bruno Luong 2022-4-29
Did the error occurs with this specific figure or any figure?
The figure can encapsulate (bad) callback and such that is triggers the callback thus the error.
If it happens with any other figure, I'm afraid you are good to reinstall your MATLAB.
Can you share/attach the faulty figure?
Maria Lazzaroni
Maria Lazzaroni 2022-4-29
The problem appeared with all figures, also basic ones. However, I have solved the problem.
I had in the past a similar situation (an error with no explanation) that I solved with these commands:
restoredefaultpath; rehash toolboxcache

请先登录,再进行评论。


Maria Lazzaroni
Maria Lazzaroni 2022-4-28
the error appers in the GUI.

类别

Help CenterFile Exchange 中查找有关 Interactive Control and Callbacks 的更多信息

产品


版本

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by