フィルターのクリア

Convert a .m MATLAB app to .mlapp

34 ビュー (過去 30 日間)
Gonçalo Torres
Gonçalo Torres 2024 年 5 月 7 日
コメント済み: Gonçalo Torres 2024 年 5 月 7 日
Hi all,
I have been developing a MATLAB app programatically using standard .m files. I usually prefer to do it this way as it gives me more control over the creation and handling of components, while allowing me to organize the code in different files.
At this stage, I would need to convert this to a Web App, however the compiler requires a .mlapp file as the main file. I have found a contribution on file exchange that converts an .m to a .mlapp file type but it is not very robust and for some reason doesn't work with my code.
Does anyone know a good solution for this?
Thank you in advance
  2 件のコメント
Ganesh
Ganesh 2024 年 5 月 7 日
You can use the following Migration tool to conver a .m file to a .mlapp file. The contribution has been made by the MathWorks App Designer Team.
If this is the file exchange you were talking about, kindly give more details about the issues you are facing when using the code.
Gonçalo Torres
Gonçalo Torres 2024 年 5 月 7 日
Hi @Ganesh, thank you for your contribution. I was not referring to this tool, however I am not sure this can solve my issue. Although my code is all in .m files, I still use ui components such as uifigure. I do not have a GUIDE interface, so I don't have a .fig file which is required as an input to the tool you shared.

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

回答 (1 件)

Mario Malic
Mario Malic 2024 年 5 月 7 日
You will have to do it manually, unfortunately.

カテゴリ

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

製品


リリース

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by