Standalone is not running, but projecto works fine

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

Matt J
Matt J on 26 Nov 2012
Edited: Matt J on 26 Nov 2012
What are the error messages when you run the .exe in a cmd window?

Sign in to comment.

Answers (2)

5 Comments

The problem isn't that. I am not running it on the target computer. Yet. I am running it on my computer, the computer I used do developp the program. However, strangely, it doesn't work.
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?
The problem is that it was working before. Then i made some changes and now, it doesn't work. What is strange is that if i run it on matlab it works perfectly
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
What evidence do you have that it is not working properly?

Sign in to comment.

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?

1 Comment

No, i'm not. It has a GUI and doesn't user command line arguments

Sign in to comment.

Categories

Find more on Get Started with MATLAB in Help Center and File Exchange

Tags

Asked:

on 26 Nov 2012

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!