Documentation

Blocks

Customize block behavior by setting block parameters

To create a Simulink® model, you add blocks to a block diagram, and then connect and configure those blocks. You can assign values to numeric block parameters, which control block calculations during simulation, and adjust block properties, which control appearance.

Adjust the parameters and properties of blocks to:

  • Experiment with parameter values as you design a model.

  • Match simulation results with measured data by estimating parameter values.

  • Design an efficient control algorithm by optimizing parameter values.

  • Document blocks and customize appearance.

Define system constants by creating global variables that you can share between blocks and models.

Functions

set_param Set system and block parameter values
get_param Get parameter names and values

Classes

Simulink.DualScaledParameter Specify name, value, units, and other properties of Simulink dual-scaled parameter
Simulink.Parameter Specify value, value range, data type, and other properties of block parameter

Related Information

Was this topic helpful?