Main Content

exportToModel

Export values from ParameterSet object to model

Since R2021a

    Description

    example

    exportToModel(parameter_set,model_name) exports the parameter values from the ParameterSet object into the model.

    Examples

    collapse all

    To export the parameter set values from the ParameterSet object into the model, use the exportToModel function.

    exportToModel(myParamSet,'slrt_ex_osc_outport')

    Input Arguments

    collapse all

    The ParameterSet object that was created from the real-time application in the importParamSet command.

    Example: myParamSet

    Provides the name of a model to which the parameter values are exported. The model must be the same model that built the real-time application MLDATX file from which the ParameterSet object was created.

    Example: 'slrt_ex_osc'

    Version History

    Introduced in R2021a