Error when opening a new figure

11 views (last 30 days)
Ran Peiser
Ran Peiser on 3 Jan 2021
Answered: Ran Peiser on 17 Feb 2021
I recently moved to R2020b (update 3 on macOS)
When I open a new figure I get the following error:
Error using figure
Unrecognized function or variable 'figue'.
Error while evaluating Figure CreateFcn.
The figure opens and performs well, but I get this error message each time.
Any suggestions?

Accepted Answer

Ran Peiser
Ran Peiser on 17 Feb 2021
The issue was due to the fact my path contained a deployed application.
Apperntly from R2020a and on the deployed applicartion contains a copy of the source code and this somehow causes this error.
By removing the folder containing the deployed application from my path the issue was solved.

More Answers (1)

Mischa Kim
Mischa Kim on 3 Jan 2021
Hi Ran, in the error message it says that 'figue' is not recognized. There may be an 'r' missing (to make it 'figure'). If this does not fix your problem please share your code in your question.
  2 Comments
Ran Peiser
Ran Peiser on 3 Jan 2021
I notices the typo in the error message.
I just type 'figure' in the command window and get this error every time.
Also when calling figure in any script.
The typo is only in the error message, not in the code
Mischa Kim
Mischa Kim on 3 Jan 2021
All right, then share your code.

Sign in to comment.

Categories

Find more on Debugging and Analysis in Help Center and File Exchange

Tags

Products


Release

R2020b

Community Treasure Hunt

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

Start Hunting!