MATLAB Answers

Executing startup failed in matlabrc "matlabrc at 228 "

24 views (last 30 days)
Katie
Katie on 10 Jan 2015
Commented: Walter Roberson on 31 Jul 2017
I have recently updated to matlab2014b and error message below appears everytime I start matlab. I also got some graphic related errors when I tried to plot.
The thing is that when I use it at work with the server license, it works perfectly fine, but my home computer which uses a standalone license gives me this problem, so I'm not sure where the problem is.
The error message is:
Warning: Executing startup failed in matlabrc.
This indicates a potentially serious problem in your MATLAB setup, which should be resolved as soon as possible. Error detected was:
MATLAB:invalidConversion
Conversion to logical from matlab.graphics.GraphicsPlaceholder is not possible.

  0 Comments

Sign in to comment.

Accepted Answer

Chi-Fu
Chi-Fu on 9 Mar 2015
Do you install ezfit package? I have the same issue in 2014b. Then I updated to 2015a, still shows error message but 2015a reveals more information in the command window: "Undefined function or variable 'efmenu'." This made me doubt that the problem is the installation of Ezyfit menu in figures.

  3 Comments

Katie
Katie on 9 Mar 2015
Hi Chi-Fu Yes, I actually figured out it was the ezfit package just a short while ago. Turning ezfit off helped instantly. Perhaps this post can help others with the same problem. Cheers Katie
Mojtaba Hoseini
Mojtaba Hoseini on 31 Jul 2017
Hi Katie, I have same issue in the MATLAB 2017. I also haven't ezfit package. Can you help me address the issue?
Walter Roberson
Walter Roberson on 31 Jul 2017
Somewhere in your matlabrc you encounter a construct of the form
if Figure_Handle
(it could be another kind of graphics handle)
That needs to be changed to
if Figure_Handle ~= 0
Check your MATLAB path for matlabrc files, especially ones in third party toolboxes.

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!