gui-to-.exe

조회 수: 1 (최근 30일)
lokendra
lokendra 2011년 10월 7일
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
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
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
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
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
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.

카테고리

Help CenterFile Exchange에서 Startup and Shutdown에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by