Cannot find authentication imaqmex_mexw64.auth
16 views (last 30 days)
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?