Unless there is a specific way to do this I realized I could use
ConstructOnLoad
with a switch statment (looking at the data in the obj) in the constructor to decide which type of load should be performed.
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!