Effacer les filtres
Effacer les filtres

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

1 vue (au cours des 30 derniers jours)
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 commentaire
Jan
Jan le 28 Avr 2022
Please post the complete error message, which should include a hint, in which function the problem appears.

Connectez-vous pour commenter.

Réponse acceptée

Maria Lazzaroni
Maria Lazzaroni le 29 Avr 2022
SOLVED
restoredefaultpath; rehash toolboxcache

Plus de réponses (2)

Bruno Luong
Bruno Luong le 28 Avr 2022
can you type
dbstop if error
on MATLAB command window, then try to trigger the error?
  3 commentaires
Bruno Luong
Bruno Luong le 29 Avr 2022
Modifié(e) : Bruno Luong le 29 Avr 2022
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 le 29 Avr 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

Connectez-vous pour commenter.


Maria Lazzaroni
Maria Lazzaroni le 28 Avr 2022
the error appers in the GUI.

Catégories

En savoir plus sur Graphics Objects dans Help Center et File Exchange

Produits


Version

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by