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

 Akzeptierte Antwort

Abhilash Padma
Abhilash Padma am 29 Jul. 2019

2 Stimmen

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 Kommentar

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

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (2)

Kristoffer Walker
Kristoffer Walker am 6 Feb. 2020
Bearbeitet: Kristoffer Walker am 6 Feb. 2020

0 Stimmen

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 am 7 Jun. 2021

0 Stimmen

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

Kategorien

Gefragt:

am 24 Jul. 2019

Kommentiert:

am 21 Mär. 2023

Community Treasure Hunt

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

Start Hunting!

Translated by