Just updated MATLAB, now will not open ANY .m files

1 view (last 30 days)
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 :/
  1 Comment
Sean Bugeja
Sean Bugeja on 26 Jun 2015
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.

Sign in to comment.

Accepted Answer

Image Analyst
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.
  1 Comment
Sean Bugeja
Sean Bugeja on 26 Jun 2015
I feel stupid now, but after going through a piece of software i was using for my project (EEGLAB) i discovered this was conflicting with a lot of MATLAB functions and breaking it.
Thank you for your assistance still.

Sign in to comment.

More Answers (1)

Steven Lord
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

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!