how to package (comsol with matlab) gui to exe

5 次查看(过去 30 天)
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.

回答(1 个)

Yogesh Khurana
Yogesh Khurana 2019-12-30
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!

类别

Help CenterFile Exchange 中查找有关 Develop 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