Convert class definition of a MATLAB App Designer GUI from XML to *.m
You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
MLAPP2CLASSDEF() prompts the user to select an App Designer GUI, packaged as an *.mlapp file, and converts the GUI's class definition from an XML file to a standalone *.m file.
The class definition for an App Designer GUI is embedded in an XML file located in a subfolder of the packaged *.mlapp file, which can be accessed like a *.zip file. MLAPP2CLASSDEF strips the XML header & footer and saves the class definition to a *.m file located in the same path as the *.mlapp file.
Current Limitations:
MLAPP2CLASSDEF assumes that the targeted *.mlapp file is a GUI created by MATLAB's App Designer. Other packaged apps are not explicitly supported.
Structure of the packaged *.mlapp file is assumed to be a constant (e.g.`~\matlab\document.xml is the path to the class definition XML)
For the fastest response times to bugs and requests, please utilize this project's issue tracker on GitHub.
Cite As
sco1 (2026). mlapp2classdef (https://github.com/StackOverflowMATLABchat/mlapp2classdef), GitHub. Retrieved .
General Information
- Version 1.1.1.0 (6.47 KB)
-
View License on GitHub
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
Versions that use the GitHub default branch cannot be downloaded
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.1.1.0 | Remove wc caveat for Linux and Mac systems |
||
| 1.1.0.0 | Updated description |
||
| 1.0.0.0 |
