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

62 visualizaciones (últimos 30 días)
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!

Respuesta aceptada

Ananya Tewari
Ananya Tewari el 21 de Sept. de 2021
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.

Más respuestas (0)

Categorías

Más información sobre Develop Apps Using App Designer en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by