stateVector.serialize

Convert stateVector object to a struct that supports fast saving/loading


Syntax



Description

obj = obj.serialize

Converts a state vector object to a stuct that supports fast save and load operations.


Output Arguments

obj

scalar serialized stateVector object
The serialized stateVector object. Supports fast save/load operations, but cannot be used to call most stateVector methods. Use the “deserialize” method to rebuild the original stateVector object.