gui-to-.exe
1 次查看(过去 30 天)
显示 更早的评论
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 个评论
Andreas Goser
2011-10-7
Not sure if I am the only one, but I do not understand what the first problem is.
回答(2 个)
Pawel Blaszczyk
2011-10-7
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 个评论
UTHM
2011-10-7
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
2011-10-7
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...
Andreas Goser
2011-10-7
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.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Startup and Shutdown 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!