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