Standalone is not running, but projecto works fine
Show older comments
Hi! I have done a program on Matlab. Everything is working OK. However, when I build the standalone using the deploytool, the .exe file doesn't work properly.
Any suggestions?
1 Comment
Answers (2)
Image Analyst
on 26 Nov 2012
0 votes
Have you tried all the things on the FAQ yet? http://matlab.wikia.com/wiki/FAQ#My_standalone_executable_won.27t_run_on_the_target_computer._What_can_I_try.3F
5 Comments
Jose
on 26 Nov 2012
Image Analyst
on 26 Nov 2012
The FAQ still applies, even on your own development/compiling computer. Have you run Dependency Walker on it? That's the main thing to try. Also how accurate, comprehensive, and detailed do you consider "doesn't work properly" to be? Do you think that's enough information for anyone to be able to solve your problem?
Jose
on 26 Nov 2012
Image Analyst
on 26 Nov 2012
Again, "it doesn't work" is not sufficient information for us to debug your problem. If you don't want to share the exact error messages here, then you can call the Mathworks and ask them. If you can't see it, then run the program from a console window ("DOS prompt") - if you do that the messages will stay up rather than vanishing. Or else run the program with the ! command in the MATLAB command window:
>> !myprogram.exe
Walter Roberson
on 26 Nov 2012
What evidence do you have that it is not working properly?
Walter Roberson
on 26 Nov 2012
0 votes
Are you passing in command line arguments? If so are you aware that all command line arguments are received as strings and not as numeric values?
Categories
Find more on Get Started with MATLAB in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!