フィルターのクリア

gui-to-.exe

3 ビュー (過去 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 Center および File ExchangeIntroduction to Installation and Licensing についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by