필터 지우기
필터 지우기

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 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