image thumbnail

mlapp2classdef

version 1.1.1.0 (6.47 KB) by sco1
Convert class definition of a MATLAB App Designer GUI from XML to *.m

758 Downloads

Updated 10 May 2016

From GitHub

View license on GitHub

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 (2021). mlapp2classdef (https://github.com/StackOverflowMATLABchat/mlapp2classdef), GitHub. Retrieved .

MATLAB Release Compatibility
Created with R2009b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
To view or report issues in this GitHub add-on, visit the GitHub Repository.
To view or report issues in this GitHub add-on, visit the GitHub Repository.