Effacer les filtres
Effacer les filtres

can not open Figure Window

7 vues (au cours des 30 derniers jours)
steve
steve le 2 Oct 2023
Commenté : steve le 2 Oct 2023
Graph appears in .mlx but can not open in Figure Window.
Error below:
> In matlab.internal.getCode (line 22)
In mtree (line 118)
In matlab.unittest.internal.ui.toolstrip.getFileInfoForToolstrip (line 29)
Warning: Function figure has the same name as a MATLAB builtin. We suggest you rename the
function to avoid a potential name conflict.
Warning: Function figure has the same name as a MATLAB builtin. We suggest you rename the
function to avoid a potential name conflict.

Réponses (1)

Walter Roberson
Walter Roberson le 2 Oct 2023
Use
which -all figure
built-in (/MATLAB/toolbox/matlab/graphics/figure)
Ideally you will see only one item, a built-in, but on your system you will see a figure.m or figure.mlx file that is interfering with using the built-in figure() . You need to delete or rename that other figure file, or otherwise remove it from your MATLAB path.
  1 commentaire
steve
steve le 2 Oct 2023
perfect.
Thank you very much !

Connectez-vous pour commenter.

Catégories

En savoir plus sur Interactive Control and Callbacks dans Help Center et File Exchange

Produits


Version

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by