compiled standalone executables fail to run now, but once did
13 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
I have some functions I wrote but were compiled by someone else, since I don't have the compiler myself. When they were initially compiled (a month or so ago), I tried multiple versions (ie, packaged with MCR and without) and everything worked fine. The last time I tried one of these applications, about two weeks ago, things worked fine. Now, when I try to load one of them, I get the splash screen and then... nothing. In windows task mgr I can see that process start and then disappear. I have tried several suggested fixes for similar (but not identical) problem to no avail. Does anyone have any ideas for me to try, or what additional info I can provide?
Here are some details My computer (where the code was written): Windows 7, 64 bit Matlab r2013b, 64 bit MCR r2014b, 64 bit
Computer where code was compiled: Windows 7, 64 bit Matlab r2014b, 64 bit Matlab compiler v5.2
Some things I tried/know: 1. Uninstalling Matlab proper on my machine doesn't work 2. If I uninstall MCR and try to load an exe, it asks for MCR 8.4 (2014b) 3. Trying to install the exe packaged with MCR on a friend's PC did not work for him either 4. Installing using "run as admin" didn't help 5. When restarting windows, the first instance of trying to run an exe takes longer to start - task manager shows memory usage increasing for ~20 s, then abruptly stopping the process... Apparently this is standard for the way this version of MCR works. 6. Again, I don't get any errors or log files written to when this error occurs.
0 Commenti
Risposta accettata
Sean de Wolski
il 24 Feb 2015
Was it compiled on a trial license? If so, the compiled app will not run after 30 days.
Più risposte (1)
Image Analyst
il 24 Feb 2015
Modificato: Image Analyst
il 24 Feb 2015
Launch your app from a console window. Start->Run->cmd. Then change directory and type your app name at the command prompt. If you didn't suppress the console window with the -e option, then the output, like error messages, will go to the console window. However if you run from the console window, everything won't vanish like it does if you double click the icon in Windows Explorer. Do that and tell me what error messages you see. Also run dependency walker on your exe.
Vedere anche
Categorie
Scopri di più su C Shared Library Integration in Help Center e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!