You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
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 (2026). Guide To Object (https://www.mathworks.com/matlabcentral/fileexchange/48797-guide-to-object), MATLAB Central File Exchange. Retrieved .
General Information
- Version 1.0.0.0 (8.26 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.0.0.0 |
