add_param(sys,param1=val1,...,paramN=valN)
adds the specified parameters to the specified model and initializes the parameters
to the specified values. The parameters are saved in the corresponding SLX or MDL
file. You can use the set_param and
get_param functions on the parameters.
Model to which you want to add parameters, specified as a handle or name.
Format the handle as a numeric scalar, and the name as a string or character
vector. The model must be an SLX or MDL file.
Name of new parameter, specified as a string or character vector. The name
cannot be the same as the name of an existing parameter of the model.
Parameter names are case insensitive.
Dependencies
To use this parameter, specify a corresponding
val1 argument.
Data Types: string | character vector
Initial value of parameter, specified as a string or character vector.
Values are case sensitive.
Dependencies
To use this parameter, specify a corresponding
param1 argument.
You can also select a web site from the following list
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.