Previously accessible file is now inaccessible.

14 views (last 30 days)
Pawel
Pawel on 15 Jun 2023
Edited: Pawel on 15 Jun 2023
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.

Answers (1)

Aman
Aman on 15 Jun 2023
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!

Categories

Find more on Enterprise Deployment with MATLAB Production Server in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!