Previously accessible file is now inaccessible.

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

 采纳的回答

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 个评论

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

请先登录,再进行评论。

更多回答(2 个)

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.
after window 10 update i am getting error as polyspace\R2020a\toolbox\simulink\hmi\+utils\doBlock Replacement.P is now inaccessible

类别

帮助中心File Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by