How to fix 'Undefined variable "rmiut" or class "rmiut.isReqEditorOpen". Error in rmiml.selectionLink Error in rmiml.selectionLink'?
5 views (last 30 days)
Show older comments
When I open m file

3 Comments
Muhammad Atif Ali
on 11 May 2020
I am facing the same issue too on r2019a after updating to update 8
Answers (1)
Saurabh
on 14 May 2025
Edited: Saurabh
on 14 May 2025
I understand that an error is being encountered while starting MATLAB every time. In such cases, restoring the default MATLAB search path and rehasing the toolbox cache is recommened.
Before modifying the search path, it is important to take a backup of 'pathdef.m' file, which can be located by using the command:
>> which -all pathdef
Before proceeding, ensure to make a safe copy of the file by copying it to a folder outside of MATLAB path.
After taking the backup, please execute the following commands in the MATLAB Command Window to restore the default MATLAB search path and rehash the toolbox cache:
>> restoredefaultpath
>> rehash toolboxcache
For Simulink users, including an additional command may be helpful:
>> restoredefaultpath
>> rehash toolboxcache
>> sl_refresh_customizations
After this step, please use MATLAB/ Simulink to see if the issue occurs again. If the issue is resolved, then save the new MATLAB search path by executing the following command:
>> savepath
NOTE: This will remove any custom paths that was created. The following MATLAB Answers post is an additional resource on how to back them up:
Also, kindly check if the MATLAB installation directory is added to the PATH variable in Windows Environment variable. If not kindly add it and try to restart MATLAB.
I hope this will resolve the issue.
0 Comments
See Also
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!