How to create standalone executable which can run on other machine too.
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Hi All,
I have developed few Stand alone GUI in MATLAB which run fine on my machine( The machine on which i have developed the executable). But I am not able to run the same on any other machine. Even they have MATLAB or MCR installed in it.
Could you guys please help me on this? It will be very kind.
Thanks in advance.. Please mail be at (removed email address to prevent the user from spam)
Regards, Sanjeet Kumar Singh
2 Kommentare
Andreas Goser
am 3 Mär. 2011
"But I am not able to run" is not enough information. Error message would help - if any.
Antworten (3)
Sreedu
am 3 Mär. 2011
I had once a similar problem. My standalone will work only in my current working directory. Not even in other folder in my own system. It was because I had not declared a class object using %#function. May be it could find it in my current working dir but not anywhere else. When I added the step in the opening function everything was okay. It worked in other systems too.
Walter Roberson
am 3 Mär. 2011
I suggest that you use the Windows Dependency Walker to figure out what is missing. Sometimes it is libraries that were provided with the compiler, sometimes it is system libraries, sometimes it is odd things you've never heard of before...
0 Kommentare
Andreas Goser
am 3 Mär. 2011
Assuming the error message is unclear or there is no error at all, I suggest to narrow don this issue by trying to deploy a very basic exeample. Like starting GUIDE and the take one of the examples, save en run them, build the stand-alone application and try on a different machine. Then you know whether this is an issue of the specifc application or a general / setup / environment issue.
2 Kommentare
Walter Roberson
am 4 Mär. 2011
Best to use the dependency walker anyhow. The program will be allowed to start running if the system can find all of the libraries that it was explicitly linked against, but it will crash (sometimes with no error message) if it then _dynamically_ calls upon a library not in that list.
Siehe auch
Kategorien
Mehr zu MATLAB Compiler 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!