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

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).

1 件のコメント

Jan
Jan 2022 年 4 月 28 日
Please post the complete error message, which should include a hint, in which function the problem appears.

サインインしてコメントする。

 採用された回答

その他の回答 (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 件のコメント

Maria Lazzaroni
Maria Lazzaroni 2022 年 4 月 29 日
I did it, but nothing appeared. Because the error is not in the code, but when I try to modify the figure with edit>axis properties
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?
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

サインインしてコメントする。

カテゴリ

ヘルプ センター および File ExchangeInteractive 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