stateVector.assertEditable

Throw error if state vector is not editable


Syntax



Description

obj.assertEditable

Throws an error if a stateVector array contains elements that have been finalized and are no longer editable. A state vector becomes finalized when it is used to build a state vector ensemble. State vector objects stored in .ens files are typically not editable.

obj.assertEditable(header)

Customize thrown error IDs


Input Arguments