Guide To Object

Tool for converting GUIDE UIs to Object Oriented Matlab
131 Downloads
Updated 19 Dec 2014

View License

Editor's Note: This file was selected as MATLAB Central Pick of the Week

Convert your GUIDE GUIs to Matlab objects.
Usage Instructions
==================

1. Export the GUIDE UI to a Matlab file
2. Run GuideToObject('guideFile_export.m', 'output.Class', debugFlag)
Parameters:
guideFile - name of the exported UI file
outputClass - name (including namespace) of class to create
debugFlag - true to print callback names in base class
3. GuideToObject creates two files on the first run, a base class
(output.ClassBase) and a template implementation class
(output.Class). Subsequent runs only update the base class, leaving
any existing implementation untouched.
4. Implement required functionality in the implementation class,
callbacks are raised in response to user actions in the UI
5. Any updates to the GUIDE file can be incorporated by running
outputClass.Recreate()

Cite As

Neil Hopcroft (2024). Guide To Object (https://www.mathworks.com/matlabcentral/fileexchange/48797-guide-to-object), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2012b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Migrate GUIDE Apps in Help Center and MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.0.0.0