Get RUL model state for use at runtime
returns a structure containing the properties of the RUL model
mdlState = readState(
readState in an entry-point function for code generation to preserve
the values of model parameters, particularly when you update the model at run time. For more
information, see Generate Code that Preserves RUL Model State for System Restart.
mdl— RUL model
RUL model, specified as a
exponentialDegradationModel RUL model object.
readState creates a structure that contains the current property