Was a problem with 3rd party software conflicting with builtin MATLAB functions. Moved the path to this software to the bottom of the list. Solved.
Just updated MATLAB, now will not open ANY .m files
1 view (last 30 days)
Show older comments
Sean Bugeja
on 26 Jun 2015
Commented: Sean Bugeja
on 26 Jun 2015
I just updated from MATLAB R2014a to R2014b and for some reason which is beyond me whenever i click to open ANY .m file, be it mine, or downloaded from the internet, matlab returns an error and simply does not. The error is recreated in the image i am attaching.
PLEASE someone tell me how to fix this :/
Accepted Answer
Image Analyst
on 26 Jun 2015
Sounds like an installation issue to me, since you cannot open any m-files at all. So see the FAQ: http://matlab.wikia.com/wiki/FAQ#After_installation.2C_MATLAB_crashes_or_gives_an_error_message_when_I_try_to_run_MATLAB.
Basically you're in luck: since it's an installation issue, you get free immediate telephone help from the Mathworks.
More Answers (1)
Steven Lord
on 26 Jun 2015
Set a breakpoint on line 194 of uiopen.m.
dbstop in uiopen.m at 194
Then try to open a file. When you reach the breakpoint, display the variable named err and paste that text into a comment of this answer.
My suspicion is that you have a file on your path or in your current working directory that's shadowing a file called by UIOPEN, and the shadowing function doesn't behave the same way as the function it's shadowing.
Once you've done this, clear the breakpoint
dbclear in uiopen.m at 194
0 Comments
See Also
Categories
Find more on Interactive Control and Callbacks in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!