Cannot execute an mcc created standalone executable that employs a mex file
Afficher commentaires plus anciens
I've built a standalone executable that employs a mex file. When I attempt to run the standalone executable, I get this error (hand transcribed):
Cannot find authentication file 's:\analysis\GetIndex_mexw32.auth' Invalid mex file 's:\analysis\GetIndex.mex32'
Any help that anyone could provide to solve this problem would be appreciated.
Réponses (3)
Kaustubha Govind
le 8 Août 2011
0 votes
This seems to have been a bug in versions older than R2006a, when the MATLAB Compiler Runtime is installed in a directory path containing spaces. What release of MATLAB did you use to compile the application? You could either try upgrading your MATLAB version, or install MCR in a directory without spaces in its path.
1 commentaire
Dan
le 8 Août 2011
Image Analyst
le 8 Août 2011
0 votes
Did you try the FAQ: http://matlab.wikia.com/wiki/FAQ#My_standalone_executable_won.27t_run_on_the_target_computer._What_can_I_try.3F, particularly #3 where it talks about Dependency Walker. Maybe you forgot to ship some file with your executable.
1 commentaire
Dan
le 10 Août 2011
Dan
le 10 Août 2011
0 votes
Catégories
En savoir plus sur MATLAB Compiler dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!