フィルターのクリア

How to import raw app source code text to mlapp file

8 ビュー (過去 30 日間)
Conner Awald
Conner Awald 2022 年 11 月 21 日
回答済み: Sanjana 2023 年 6 月 7 日
I'm trying to use the matlab script given in this paper. It's a GUI program that can perform power beaming calculations and optimizations. It includes an app as the main user interface into the program and the paper provides all of the source code in an appendix. I can get the .m files to copy over just fine but I'm having trouble with the .mlapp file given on page 1 of Appendix 1. How can I take this raw source code and have matlab turn it into an app, or at least, interpret it as the source code of an app? I tried copy and pasting the source code into a regular .m file and then attempted to open it with the app editor but that didn't work. Also, pasting it into a file with the extension .mlapp throws an error when the app editor tries to open it. Thanks

回答 (1 件)

Sanjana
Sanjana 2023 年 6 月 7 日
Hi,
I understand that you are facing difficulty in executing the code in a “.mlapp” file.
The file is a MATLAB “App Designer” file. To execute the code in the file, You can open “App Designer” in MATLAB and go to the code view,then paste the code there, and then execute it.
Please refer to the following link for further information regarding “App designer”,
Hope this helps!

カテゴリ

Help Center および File ExchangeDevelop 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