can not open Figure Window
7 次查看(过去 30 天)
显示 更早的评论
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.
0 个评论
回答(1 个)
Walter Roberson
2023-10-2
Use
which -all 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.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Interactive Control and Callbacks 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!