How to use an image as a GUI front panel when deploying an exe application

13 ビュー (過去 30 日間)
Mus'ab Ahmad
Mus'ab Ahmad 2017 年 6 月 29 日
コメント済み: Mus'ab Ahmad 2017 年 7 月 3 日
Hello! How to use an image (currently exists in my computer) when I deploy my file and its GUI to generate an .exe application? When I run the generated .exe file in another computer, it does not recognize the path of the image (which makes sense). What should I do to use this image with the .exe application in any computer? Please see the attached code.
Note: I use runtime compiler 8.5 to generate the .exe standalone application

採用された回答

Walter Roberson
Walter Roberson 2017 年 6 月 29 日
Put the image into the directory you are compiling in, and tell the tool to attach the file, or use the -a command line flag for mcc.

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeApplication Deployment についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by