Previously accessible file is now inaccessible.

5 次查看(过去 30 天)
Recently, after migrated my application to a new server errors like this keeps appearing from time to time:
-Previously accessible file "C:\Users\xxx\AppData\Local\Temp\xxx\mcrCache9.4\Prog1\toolbox\shared\optimlib\createExitMsg.p" is now inaccessible.
-Previously accessible file "C:\Users\xxx\AppData\Local\Temp\xxx\mcrCache9.4\Prog1\toolbox\shared\optimlib\formLambdaStruct.p" is now inaccessible.
It's occured in specific time 23:30 pm but on irregular days.
Before migration, this issue did not occur on.
I wanted to clarify. Its a compiled program to exe, that is run by the task scheduler every x mins time.
Thank you in advance for your help.

回答(1 个)

Aman
Aman 2023-6-15
Hi Pawel,
Try using the following command,
rehash toolboxcache;
You can refer to this link for more information, https://www.mathworks.com/help/matlab/ref/rehash.html
Hope this helps!

类别

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