How to open .m file in App Designer or transform .m file to MATLAB APP file(.mlapp file)

조회 수: 63 (최근 30일)
In App Designer, there is a "export as .m file" option in "save" button. So, I want to export .mlapp file to .m file where I can use Git to manage my code.But I can't find how to open a .m file in App Designer or transform a .m file to .mlapp file.
English is not my native language, please excuse me!
Thanks!

채택된 답변

Ananya Tewari
Ananya Tewari 2021년 9월 21일
Hi,
There is no easy way to import the exported "m" file into AppDesigner. The "mlapp" file is a structure which contains metadata and XML files, whereas, the "m" file contains only the code. In order to directly import the app file, the metadata and the XML files would be needed, which are not present in the "m" file.
If you are looking to manage your .MLAPP code using Git please refer to this answer which breifly explains how we can use Git inside MATLAB.

추가 답변 (0개)

카테고리

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