Using Simulink    

Setting Block Parameters

All Simulink blocks have a common set of parameters, called block properties, that you can set (see Common Block Parameters in the online Simulink help). See Block Properties Dialog Box for information on setting block properties. In addition, many blocks have one or more block-specific parameters that you can set (see Block-Specific Parameters in the online Simulink reference). By setting these parameters, you can customize the behavior of the block to meet the specific requirements of your model.

Setting Block-Specific Parameters

Every block that has block-specific parameters has a dialog box that you can use to view and set the parameters. You can display this dialog by selecting the block in the model window and choosing BLOCK Parameters from the model window's Edit menu or from the model window's context (right-click) menu, where BLOCK is the name of the block you selected, e.g., Constant Parameters. You can also display a block's parameter dialog box by double-clicking its icon in the model or library window.

For information on the parameter dialog of a specific block, see the block's documentation in the Simulink Blocks in the online Simulink help.

You can set any block parameter, using the Simulink set_param command. See set_param in the online Simulink help for details.

You can use any MATLAB constant, variable, or expression that evaluates to an acceptable result when specifying the value of a parameter in a block parameter dialog or a set_param command. You can also use variables or expressions that evaluate to Simulink data objects as parameters (see Using Data Objects as Parameters).


  Deleting Blocks Block Properties Dialog Box