how to package (comsol with matlab) gui to exe

2 views (last 30 days)
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!

Community Treasure Hunt

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

Start Hunting!