Simulink Reference    
add_param

Add a parameter to a Simulink system.

Syntax

Description

The add_param command adds the specified parameters to the specified system and initializes the parameters to the specified values. Case is ignored for parameter names. Value strings are case sensitive. The value of the parameter must be a string. Once the parameter is added to a system, set_param and get_param can be used on the new parameters as if they were standard Simulink parameters.

Examples

This command

adds the parameters Param1 and Param2 with values 'Value1' and 'Value2' to the vdp system.

See Also


  add_line bdclose