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

1 view (last 30 days)
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 Comment
Jan
Jan on 28 Apr 2022
Please post the complete error message, which should include a hint, in which function the problem appears.

Sign in to comment.

Accepted Answer

Maria Lazzaroni
Maria Lazzaroni on 29 Apr 2022
SOLVED
restoredefaultpath; rehash toolboxcache

More Answers (2)

Bruno Luong
Bruno Luong on 28 Apr 2022
can you type
dbstop if error
on MATLAB command window, then try to trigger the error?
  3 Comments
Maria Lazzaroni
Maria Lazzaroni on 29 Apr 2022
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

Sign in to comment.


Maria Lazzaroni
Maria Lazzaroni on 28 Apr 2022
the error appers in the GUI.

Products


Release

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by