figure command doesn't open a figure

3 views (last 30 days)
Eric Jankowski
Eric Jankowski on 4 Sep 2020
Commented: Eric Jankowski on 8 Sep 2020
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!

Answers (1)

Steven Lord
Steven Lord on 4 Sep 2020
Did the student accidentally create their own function named figure?
which -all figure
  3 Comments
John D'Errico
John D'Errico on 5 Sep 2020
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 on 8 Sep 2020
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!

Sign in to comment.

Categories

Find more on Interactive Control and Callbacks in Help Center and File Exchange

Products


Release

R2020a

Community Treasure Hunt

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

Start Hunting!