Cannot find authentication imaqmex_mexw64.auth
Show older comments
A compiled version of UI with images and camera feed works mostly fine. But very occasionally, like once in a month, the programs halts as the camera fails to grab images. When I try imaqreset and reconnect to the camera it fails reconnection and I see the error message
Cannot find authentication file 'C:\Users\user\AppData\Local\Temp\user\mcrCache9.2\iR_Vis0\toolbox\imaq\imaq\imaqmex_mexw64.auth'.
I just have to close the application and relaunch it to make it work. The application is compiled with Matlab R2017a and the installed MCR too is the same version. The PC runs Windows10.
Any idea why this happens and how to get rid of the problem?
Thanks
6 Comments
Walter Roberson
on 5 Apr 2021
Automatic system software might be cleaning out your Temp directory .
Bruno Luong
on 5 Apr 2021
Edited: Bruno Luong
on 5 Apr 2021
I believe ImageAnalyst might post somewhere how to tell MATLAB where CTF file is extracted.
cr
on 5 Apr 2021
Bruno Luong
on 5 Apr 2021
Edited: Bruno Luong
on 5 Apr 2021
Windows clean up Temp now end then.
Windows is a big mess, check STORAGE SENSE / TEMPORARY FILES setting
You better move CTF out of the Temp folder
cr
on 5 Apr 2021
Bruno Luong
on 5 Apr 2021
Answers (0)
Categories
Find more on Application Deployment 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!