Main Content

saveRULModelForCoder

Save RUL model for use in code generation

    Description

    saveRULModelForCoder(mdl,filename)saves an RUL model to a MAT file for use in code generation. Use the file withloadModelForCoderin 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

    collapse all

    RUL model to save, specified as alinearDegradationModel, aexponentialDegradationModel, areliabilitySurvivalModel, or acovariateSurvivalModelobject.saveRULModelForCoderstores the properties ofmdlin the MAT filefilename.

    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 infilename. The function creates a MAT file.

    Version History

    Introduced in R2021a

    Baidu
    map