figure command doesn't open a figure

1 次查看(过去 30 天)
I've got a student using matlab online, and the minimal working example is as follows:
>> figure
No errors, no figure. No windows hiding with a figure. And worse yet, can't find any other examples of this behavior to fix it!

回答(1 个)

Steven Lord
Steven Lord 2020-9-4
Did the student accidentally create their own function named figure?
which -all figure
  3 个评论
John D'Errico
John D'Errico 2020-9-5
That would be my initial reaction. Essentially, whenever some piece of MATLAB functionality fails to work as it is expected to work, you should immediately check to see if a user has created a file with that name.
Eric Jankowski
Eric Jankowski 2020-9-8
Same student says everything is working fine this week: Unable to replicate bug. Glad it's resolved, but seeing that spooky behavior will haunt me. Thanks for taking the time to weigh in, Steve and John!

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 MATLAB 的更多信息

产品


版本

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by