Previously accessible file is now inaccessible.

67 views (last 30 days)
The IT upgraded my matlab and I keep receiving this error when I want to open an existing file.
Previously accessible file "C:\Program
Files\MATLAB\R2019a\toolbox\shared\reqmgt\+slreq\+data\@ReqData\ReqData.p" is now
inaccessible.
Error in slreq.utils.loadLinkSet
Error in rmiml.getAll

Accepted Answer

Abhilash Padma
Abhilash Padma on 29 Jul 2019
Try using the following command which may solve your problem.
rehash toolboxcache;
For more information, refer the following link: https://www.mathworks.com/help/matlab/ref/rehash.html
  1 Comment
TOSA2016
TOSA2016 on 29 Jul 2019
Thanks Abhilash. It solved the problem. However, I still get this error message when I open matlab.
Undefined variable "slreq" or class "slreq.data.ReqData.exists".
Error in slreq.utils.loadLinkSet
Error in rmiml.getAll
Undefined variable "slreq" or class "slreq.data.ReqData.exists".
Error in slreq.utils.loadLinkSet
Error in rmiml.getAll
Undefined variable "slreq" or class "slreq.data.ReqData.exists".
Error in slreq.utils.loadLinkSet
Error in rmiml.getAll
Undefined variable "slreq" or class "slreq.data.ReqData.exists".
Error in slreq.utils.loadLinkSet
Error in rmiml.getAll
Undefined variable "slreq" or class "slreq.data.ReqData.exists".
Error in slreq.utils.loadLinkSet
Error in rmiml.getAll

Sign in to comment.

More Answers (2)

Kristoffer Walker
Kristoffer Walker on 6 Feb 2020
Edited: Kristoffer Walker on 6 Feb 2020
I have the same issue. All I did was finish my AppDesigner app, then move the app and its dependencies into a new subdirectory called "src". Then when I cd into that subdirectory and try to run AppDesigner again on it, it will load into AppDesigner fine, and the preview looks fine, but when I click "Run", I get this same error in that somewhere inside the execution space, the old location of my app is being looked for. It seems that a hard-wired path that gets inserted into the *.mlapp code that gets corrupted if you move the *.mlapp code to another location.

ravindra mohare
ravindra mohare on 7 Jun 2021
after window 10 update i am getting error as polyspace\R2020a\toolbox\simulink\hmi\+utils\doBlock Replacement.P is now inaccessible

Categories

Find more on Search Path 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!