compiled executable does not start
7 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Sascha Egger
am 4 Okt. 2016
Kommentiert: Sascha Egger
am 4 Okt. 2016
Hello,
i have written a program in Matlab. Now i want to create an executable with "deploytool" to run the program on different computers without installed Matlab.
After compiling the program i can start the executable and it works fine, but only on the PC from where i compiled it (on all computers with a installed Matlab version). But it does not work at the target computer with installed Matlab Compiler Runtime (Version 8.4 32 Bit). The compiling Matlab version is version 8.4 (R2014b) 32 Bit. Application Compiler is version 5.2.
After starting the program on the target computer it shows the typical default icon. After a few minutes it quits without any error message.
I did not find any hint what can cause such a different behaviour of the executable depending on the computer.
Thank you very much for your efforts.
2 Kommentare
Steven Lord
am 4 Okt. 2016
What message do you see when you run the executable from a Windows Command Prompt (or some type of terminal window if you're using Linux or Mac)?
Akzeptierte Antwort
Steven Lord
am 4 Okt. 2016
Based on the comment you provided, you may want to guard the code that adds the path in your startup using the isdeployed function.
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Introduction to Installation and Licensing finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!