I wannted to show a possible and a simple way in matlab to construct a gui with a Matlab class. All the GUI is included in just one file. In my opinion this is a very good and readable way to generate GUIs in Matlab.
The instance of the object will be destroyed when someone closes the figure !
If someone finds some ways to improve this can tell thanks.
Alessandro (2022). A Matlab GUI with classes (https://www.mathworks.com/matlabcentral/fileexchange/47888-a-matlab-gui-with-classes), MATLAB Central File Exchange. 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!