I am getting exceptions every time I start up Matlab 2016b or save a file: Undefined function or variable 'rmiml.vis​ibleInTool​strip'.

1 view (last 30 days)
There are no other exceptions, but this is listed 6 or 7 times.
"Undefined function or variable 'rmiml.visibleInToolstrip'."
  4 Comments
Malcolm Hawksford
Malcolm Hawksford on 27 Mar 2017
I also had problems associated with pathdef.m and the resulting error messages 'Undefined function or variable 'rmiml.visibleInToolstrip' when installing R2017a.
I discovered that there were not one but two other pathdef.m files strangely located in two arbitrary folders on my pc which I had created earlier and had been used by Matlab but were NOT part of the system files… so perform a search for the file, if a random pathdef.m is found especially outside of the current Matlab install then rename it (or delete it), then search again in case there are more and keep repeating until all is clear. Then close Matlab if open and restart… when I did this I got a firewall message which asked if I wanted to allow the pathdef.m file… obviously the firewall was blocking the correct file for some mysterious reason. When I said “allow” the program loaded and then filled the command screen with links it had discovered. I then closed the program once more and restarted whereupon it seems to work OK and the help function is now working… all looks normal but of course I have yet to do anything serious.

Sign in to comment.

Answers (2)

Julio Garcia
Julio Garcia on 7 Jul 2016
thanks, i delete the ile in route c and it worked

Deepak Ingole
Deepak Ingole on 3 Feb 2020
Edited: Deepak Ingole on 3 Feb 2020
Delete or rename pathdef.m files avilable in MATLAB path and restart MATLAB.

Categories

Find more on Startup and Shutdown 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!