Previously accessible file is now inaccessible.

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)

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!

1 Comment

I don't have matlab on server where application is running.

Sign in to comment.

Categories

Find more on Get Started with MATLAB in Help Center and File Exchange

Asked:

on 15 Jun 2023

Edited:

on 15 Jun 2023

Community Treasure Hunt

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

Start Hunting!