gui-to-.exe

1 vue (au cours des 30 derniers jours)
lokendra
lokendra le 7 Oct 2011
how can we write a file path in matlab program so that .exe .can run in any system. how can we make window stand alone file with istallation package. i am using MATLAB Compiler and i have plan to run in on multiple platforms so that i can obtain executables for each corresponding platform.
  1 commentaire
Andreas Goser
Andreas Goser le 7 Oct 2011
Not sure if I am the only one, but I do not understand what the first problem is.

Connectez-vous pour commenter.

Réponses (2)

Pawel Blaszczyk
Pawel Blaszczyk le 7 Oct 2011
Try to use deploytool command. It is gui for deploying applications. It may later work on different computers if they will have installed MCR (I am not sure if it is right abbreviation). However this is available on Mathworks (and it is free).
When you create *.exe you can also add this part of software into instalation package
  4 commentaires
UTHM
UTHM le 7 Oct 2011
deploytool work with me and i created exe file and it works in the same computer which I have created in. but when I run the exe file in another computer it didn't work because there on the file 'mclmcrrt711.dll' which is for matlab R2009b.
Should I include 'mclmcrrt711.dll' with the figures an m-files in building.
Andreas Goser
Andreas Goser le 7 Oct 2011
No you shouldn't. Just distribute the executable with the MCR version of the same MATLAB release you created the executbale with.
I'd say many of those problems just occur when being too creative...

Connectez-vous pour commenter.


Andreas Goser
Andreas Goser le 7 Oct 2011
For the second part: "and i have plan to run in on multiple platforms so that i can obtain executables for each corresponding platform."
Depending on your license option (ask MathWorks for that in case you do not know), I recommend installing MATLAB and products on each of those platforms and create an executable for each platform.
Recent releases have some capabilities to create cross platform applications, but it is not complete.

Catégories

En savoir plus sur Startup and Shutdown dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by