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 commentaire

Matt J
Matt J le 26 Nov 2012
Modifié(e) : Matt J le 26 Nov 2012
What are the error messages when you run the .exe in a cmd window?

Connectez-vous pour commenter.

Réponses (2)

Image Analyst
Image Analyst le 26 Nov 2012

0 votes

5 commentaires

Jose
Jose le 26 Nov 2012
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?
Jose
Jose le 26 Nov 2012
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?

Connectez-vous pour commenter.

Walter Roberson
Walter Roberson le 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?

1 commentaire

Jose
Jose le 26 Nov 2012
No, i'm not. It has a GUI and doesn't user command line arguments

Connectez-vous pour commenter.

Catégories

En savoir plus sur Variables dans Centre d'aide et File Exchange

Tags

Question posée :

le 26 Nov 2012

Community Treasure Hunt

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

Start Hunting!

Translated by