Main Content
restoreState
Description
restoreState(
updates the properties of the degradation RUL model mdl
,mdlState
)mdl
according to
the values specified in the structure mdlState
. Create
mdlState
using the readState
command. Use readState
and restoreState
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.
Input Arguments
Extended Capabilities
Version History
Introduced in R2021a