Save RUL model for use in code generation
saves an RUL model to a MAT file for use in code generation. Use the file with
loadModelForCoder in an entry-point function for code generation to
reconstruct the model at compile time. See Generate Code for Predicting Remaining Useful Life for more
mdl— RUL model
RUL model to save, specified as a
exponentialDegradationModel RUL model object.
saveRULModelForCoder stores the properties of
mdl in the MAT file
filename— Name of file
Name of file in which to save the RUL model, specified as character vector or a
string. You can specify a full or relative path in
function creates a MAT file.