Error using open (line 163) failed to open MATLAB Editor

I'm trying to install meatools to read .mcd files with matlab, but I can't open .m files from matlab because of an error that told me "ERROR DIALOG Error using open (line 163) failed to open MATLAB Editor. How can I correct this error and open files?

4 Comments

What does
which open
show? What does 'meatools' have to do with it though? You say you are 'trying' to install it. Do you mean you did install it and then afterwards you can't open .m files or that somewhere during installing it you get that error popping up?
>> which open
C:\Program Files\MATLAB\R2012b\toolbox\matlab\general\open.m
This is what I obtain after trying to open a .m file.
Warning: Function C:\Program Files\MATLAB\R2012b\toolbox\meatools\assert.m has the same name as a MATLAB
builtin. We suggest you rename the function to avoid a potential name conflict.
Warning: Function C:\Program Files\MATLAB\R2012b\toolbox\meatools\histc.m has the same name as a MATLAB
builtin. We suggest you rename the function to avoid a potential name conflict.
Warning: Function C:\Program Files\MATLAB\R2012b\toolbox\meatools\isglobal.m has the same name as a MATLAB
builtin. We suggest you rename the function to avoid a potential name conflict.
I was installing 'meatools' on my pc, but during the installation it was asked to open a .m files to modify it, but it wouldn't let me open it, so I go back on a pc where 'meatools' was previously installed and where it works, but I found out that I could no more open .m files even there. Every kind of .m file, beacuse of this error.
dpb
dpb on 27 Sep 2019
Edited: dpb on 27 Sep 2019
This is a bad sign...it appears the author of this set of tools has aliased a whole bunch of bultin MATLAB functions and this is interfering with normal operation.
I'd suggest removing every trace of that installation and see if (hopefully) it hasn't truly corrupted the base installation.
If that still fails, looks like probably a reinstallation of MATLAB is in order and I'd not even consider reinstalling this package unless and until the author fixes such issues.
If it asks to open and modify a base product m-file I'd not even think about it, what more do so; that's just asking for trouble.
R2012b is quite dated by now -- is there any doc that says what version of ML was used for the addon?
Sorry for the late reply, at the end I reinstalled MATLAB without this package and all started to work again. Thank you for your help.

Sign in to comment.

Answers (0)

Categories

Asked:

on 27 Sep 2019

Commented:

on 7 Oct 2019

Community Treasure Hunt

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

Start Hunting!