MATLAB Answers

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

18 views (last 30 days)
eashe on 26 May 2016
Edited: Deepak Ingole on 3 Feb 2020
There are no other exceptions, but this is listed 6 or 7 times.
"Undefined function or variable 'rmiml.visibleInToolstrip'."


Show 1 older comment
George Hanna
George Hanna on 10 Jan 2017
Hi Venkatachala, I am using a Dell laptop. Is this MATLAB release frequently having errors on Dells? When I type ver, I get the following: ---------------------------------------------------------------------------------------------------- MATLAB Version: (R2016b) MATLAB License Number: 979495 Operating System: Microsoft Windows 10 Home Version 10.0 (Build 14393) Java Version: Java 1.7.0_60-b19 with Oracle Corporation Java HotSpot™ 64-Bit Server VM mixed mode ---------------------------------------------------------------------------------------------------- MATLAB Version 9.1 (R2016b) Simulink Version 8.8 (R2016b) Bioinformatics Toolbox Version 4.7 (R2016b) Communications System Toolbox Version 6.3 (R2016b) Computer Vision System Toolbox Version 7.2 (R2016b) Control System Toolbox Version 10.1 (R2016b) Curve Fitting Toolbox Version 3.5.4 (R2016b) DSP System Toolbox Version 9.3 (R2016b) Data Acquisition Toolbox Version 3.10 (R2016b) Database Toolbox Version 7.0 (R2016b) Econometrics Toolbox Version 3.5 (R2016b) Filter Design HDL Coder Version 3.1 (R2016b) Financial Toolbox Version 5.8 (R2016b) Fixed-Point Designer Version 5.3 (R2016b) Fuzzy Logic Toolbox Version 2.2.24 (R2016b) Global Optimization Toolbox Version 3.4.1 (R2016b) HDL Coder Version 3.9 (R2016b) HDL Verifier Version 5.1 (R2016b) Image Acquisition Toolbox Version 5.1 (R2016b) Image Processing Toolbox Version 9.5 (R2016b) Instrument Control Toolbox Version 3.10 (R2016b) MATLAB Coder Version 3.2 (R2016b) MATLAB Compiler Version 6.3 (R2016b) MATLAB Report Generator Version 5.1 (R2016b) Mapping Toolbox Version 4.4 (R2016b) Model Predictive Control Toolbox Version 5.2.1 (R2016b) Neural Network Toolbox Version 9.1 (R2016b) Optimization Toolbox Version 7.5 (R2016b) Parallel Computing Toolbox Version 6.9 (R2016b) Partial Differential Equation Toolbox Version 2.3 (R2016b) RF Toolbox Version 3.1 (R2016b) Robust Control Toolbox Version 6.2 (R2016b) Signal Processing Toolbox Version 7.3 (R2016b) SimRF Version 5.1 (R2016b) Simscape Version 4.1 (R2016b) Simscape Electronics Version 2.10 (R2016b) Simulink 3D Animation Version 7.6 (R2016b) Simulink Control Design Version 4.4 (R2016b) Simulink Report Generator Version 5.1 (R2016b) Simulink Verification and Validation Version 3.12 (R2016b) Stateflow Version 8.8 (R2016b) Statistics and Machine Learning Toolbox Version 11.0 (R2016b) Symbolic Math Toolbox Version 7.1 (R2016b) System Identification Toolbox Version 9.5 (R2016b) Wavelet Toolbox Version 4.17 (R2016b) Undefined function or variable 'rmiml.visibleInToolstrip'.
Undefined function or variable 'rmiml.visibleInToolstrip'.
Undefined function or variable 'rmiml.visibleInToolstrip'.
Undefined function or variable 'rmiml.visibleInToolstrip'.
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.

Community Treasure Hunt

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

Start Hunting!

Translated by