Previously accessible file is now inaccessible.

72 次查看(过去 30 天)
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

采纳的回答

Abhilash Padma
Abhilash Padma 2019-7-29
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 个评论
TOSA2016
TOSA2016 2019-7-29
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 个)

Kristoffer Walker
编辑:Kristoffer Walker 2020-2-6
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 2021-6-7
after window 10 update i am getting error as polyspace\R2020a\toolbox\simulink\hmi\+utils\doBlock Replacement.P is now inaccessible

类别

Help CenterFile Exchange 中查找有关 Search Path 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by