Borrar filtros
Borrar filtros

MATLAB 2017 Editor Causing Error: Error in rmiml.visibleInToolstrip

5 visualizaciones (últimos 30 días)
GtoG
GtoG el 21 de Mayo de 2017
Editada: Simon de Szoeke el 1 de Ag. de 2017
I just upgraded from MATLAB 2016b to 2017a. When I start up with the editor closed it initializes just fine. When the editor window is opened, or if it is opened on start up I get the following errors.
Cell contents reference from a non-cell array object.
Error in contains (line 8) TF = strcmpi(str{1}(k{1}:(length(pattern)+k{1}-1)),pattern);
Error in rmi.isInstalled
Error in rmiml.visibleInToolstrip
Cell contents reference from a non-cell array object.
Error in contains (line 8) TF = strcmpi(str{1}(k{1}:(length(pattern)+k{1}-1)),pattern);
Error in rmi.isInstalled
Error in rmiml.visibleInToolstrip.
This happens every time a new .m file is opened. It also happens sometimes when running a script (not sure why it does in some cases and not in others), it makes opening and working with files lag as it is constantly dealing with this error. I have uninstalled and reinstalled which did not change anything. This is on a Windows 10 machine.
  5 comentarios
Simon de Szoeke
Simon de Szoeke el 1 de Ag. de 2017
Editada: Simon de Szoeke el 1 de Ag. de 2017
Yes, I had an old date.m on my path in one of my libraries. I renamed it so now this is the only date.m:
>> which -all date
/Applications/MATLAB_R2017a.app/toolbox/matlab/timefun/date.m
Now I can open files from the command window without the error. So far, so good. Thank you, Walter Roberson.

Iniciar sesión para comentar.

Respuestas (1)

Sangeetha Jayaprakash
Sangeetha Jayaprakash el 24 de Mayo de 2017
Editada: Sangeetha Jayaprakash el 24 de Mayo de 2017
I am assuming you are using MATLAB R2017a.
Can you check if you have multiple pathdef.m files in your path? You can do this by running the following command in MATLAB:
which -all pathdef.m
The ‘pathdef.m’ that is currently used must be the one pertaining to MATLAB R2017a.
If an older ‘pathdef.m’ exists, it will shadow the new one and does not add the directory to the path. If you have an older ‘pathdef.m’,try renaming it and see if it fixes the error.
  2 comentarios
GtoG
GtoG el 26 de Mayo de 2017
Thank you for the help. The result is: D:\Program Files\MATLAB\R2017a\toolbox\local\pathdef.m Which I believe is the correct one. If I search in D:\Program Files\MATLAB\R2017a\toolbox\local\ it does find other pathdef.m files in \template, \template\ja, and \local\ja. Would those cause problems?
GtoG
GtoG el 27 de Mayo de 2017
Oh! And I should have added that renaming the others did not fix the problem.
I only have the error when I open the editor. Thanks again!

Iniciar sesión para comentar.

Categorías

Más información sobre Interactive Control and Callbacks en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by