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 
                
                  
              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 (2025). save or load the individual properties of an object (https://se.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 LinuxCategories
- MATLAB > Programming > Classes > Define Classes > Handle Classes >
 
      Find more on Handle Classes in Help Center and MATLAB Answers
    
  Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
