MATLAB Answers

Previously accessible file is now inaccessible.

62 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

  1 Comment

Sign in to comment.

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 (1)

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.

  0 Comments

Sign in to comment.

Sign in to answer this question.


Translated by