Developing standalone application, not transfering to computer without Matlab
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
I am developing my first standalone application to run on a computer without Matlab. The GUI has compiled and runs on my computer, but when I transfer the .exe to a computer without Matlab it does not run. I have tried both downloading runtime and compiling with the runtime installer. Which files do I need to transfer to the computer without Matlab?
The readme file generated by the compiler says to transfer the .exe, .ctf, and MCRInstaller.exe. However, .ctf and MCRInstaller.exe are not generated by the compiler.
Three folders are generated by the compiler:
for_distribution
for_distribution_files_only
for_distribution_testing
Can someone please help me with this?
Thanks,
0 Kommentare
Antworten (1)
Image Analyst
am 3 Nov. 2015
You don't need any ctf file. What version are you running? All you need are your executable, the MCRInstaller (which needs to be installed), and any files that are to be used by your app during run-time, such as sample data files, settings files, Excel templates, etc.
Try the things listed in the FAQ: http://matlab.wikia.com/wiki/FAQ#My_standalone_executable_won.27t_run_on_the_target_computer._What_can_I_try.3F and come back to us if none of those work (which would be unlikely).
Your other option would be to put in tons of msgbox() or fprintf() statements along every step of the way to see how far it gets before it crashes.
3 Kommentare
Image Analyst
am 3 Nov. 2015
Are you using Windows? Does the black console window come up, or did you suppress it with the -e flag on mcc? If it's there, it should definitely say something. How are you launching the program? Try getting a dos prompt in the executable's folder and typing the name in so that the window doesn't vanish when an error occurs. Are you sure you tried all the items on the FAQ list? Especially Dependency Walker?
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!