save or load the individual properties of an object

Version 1.1.0.0 (1.32 KB) by Hao
a demo class capable of saving or loading individual properties, to or from a .mat file
204 Downloads
Updated 25 Nov 2013

View License

Instead of saving or loading an object as a whole, we may need to save or load its properties individually. The demoClass.m is a class definition showing how to do that. Play around it by creating an object, then changing, saving and loading its properties.

Cite As

Hao (2024). save or load the individual properties of an object (https://www.mathworks.com/matlabcentral/fileexchange/44435-save-or-load-the-individual-properties-of-an-object), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2010b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Handle Classes 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.1.0.0

make the description clearer.

1.0.0.0