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

조회 수: 2 (최근 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).
  댓글 수: 1
Jan
Jan 2022년 4월 28일
Please post the complete error message, which should include a hint, in which function the problem appears.

댓글을 달려면 로그인하십시오.

채택된 답변

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