loadRULModelForCoder
Load and reconstruct RUL model from file for use in code generation
Description
reconstructs an RUL model object from properties stored inmdl
= loadRULModelForCoder(filename
)filname
, which is a file created usingsaveRULModelForCoder
. UseloadRULModelForCoder
in an entry-point function for code generation to reconstruct the model at compile time. SeeGenerate Code for Predicting Remaining Useful Lifefor more information.
Input Arguments
Output Arguments
Tips
loadRULModelForCoder
loads the model at compile time, not at run time. Therefore, any changes you make to the MAT file after compiling are not available at run time. To update the state of the model at run time, userestoreState
.
Extended Capabilities
See Also
Introduced in R2021a