Updated 10 May 2016
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.
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.
sco1 (2021). mlapp2classdef (https://github.com/StackOverflowMATLABchat/mlapp2classdef), GitHub. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!