フィルターのクリア

how to make these changes about exe file which is complied from matlab gui?

2 ビュー (過去 30 日間)
vx2008
vx2008 2014 年 7 月 23 日
編集済み: vx2008 2014 年 7 月 24 日
I have made a GUI procedure---a.m/a.fig by matlab and then compile it into exe file by 'mcc -m a'.
1.the logo of a.exe file is the picture as below:
my question is that: shall I change it as anther picture as I want?
2.when I run a.exe, a black window will come out as below picture:
my question is that: how shall I avoid this window when I run the a.exe file?
3.because a.m insert a picture(exist on F:\) into the procedure when I move the a.exe file to another computer, I should copy this picture to that computer 's F:\. my question is that: how can avoid this (copy this picture to that computer)?
thank you !

採用された回答

Image Analyst
Image Analyst 2014 年 7 月 23 日
  1. See Mathworks Solution: http://www.mathworks.com/matlabcentral/answers/101376-how-do-i-associate-a-custom-icon-with-an-exe-compiled-with-the-matlab-compiler-4-0-r14
  2. Use the -e option on mcc instead of -m.
  3. You can't. If your app needs the picture on the F drive (or somewhere) then it must be shipped with your app. You can use the -a option which will bundle the picture in with the executable but then you won't put a path like F:\ in front of the filename when you try to use it.
  1 件のコメント
vx2008
vx2008 2014 年 7 月 24 日
編集済み: vx2008 2014 年 7 月 24 日
1. I am seeking for "the 3rd part tool" to change iron.
2. done
3. when I compile it by using -a option as below:
mcc -e a -a 'F:\picture.jpg' and get the a.exe.
when I run a.exe, i find that i still keep this picture on the F:\. so is there something wrong?
thank you very much.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeDevelop Apps Using App Designer についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by