how to package (comsol with matlab) gui to exe

5 views (last 30 days)
croke yu
croke yu on 10 Oct 2019
Answered: Yogesh Khurana on 30 Dec 2019
I use the application compiler to package the gui into exe, the exe software could start. However, it doesn't work as the gui. can't load the document and model.(the code in .m includes Local file path)?
any body could help me? Thanks a lot.

Answers (1)

Yogesh Khurana
Yogesh Khurana on 30 Dec 2019
MATLAB’s App Designer allows you to create a special function that executes when the app starts up, but before the user interacts with the UI like: StartupFcn callback. You can leverage this property for specifying the file name that you want to run when your app starts. I am attaching some links for you to refer those in case you need more help:
Please refer to the above provided links.
Hope this helps!

Categories

Find more on Develop Apps Using App Designer in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!