Edit parameters and properties for any Simulink model element
The Simulink® Property Inspector enables you to use a single interface to edit parameters and properties for any model element.
You can leave the Property Inspector open as you build your model, and it updates with your selection. You can use the Property Inspector to edit:
Block parameters and properties
Annotations, areas, and images
When you open the Property Inspector, it opens as a pane in the current Simulink Editor window. You can drag the Property Inspector from the default location and dock it in another location in the editor. The down arrow to the right of the pane title provides options to undock, minimize, and open help for the pane.
The Property Inspector lets you quickly set parameters and properties as you work. Values take effect when you set them. For more information on setting block parameters and properties, see Add Blocks and Set Parameters.
You can alternatively open a dialog box for a selected model element by right-clicking and selecting an item such as Properties, or for blocks, Block Parameters. Double-clicking a block generally opens a block dialog box. (Use one of the menu commands on Subsystem and Model blocks.)
The Property Inspector and dialog boxes operate on a single selected element. The main difference is that the Property Inspector updates with each selection, and the dialog box shows settings for only the element you opened it from. For this reason, the dialog box is useful if:
You are moving through the model hierarchy and want to see or set element parameters or properties as you navigate the model.
You want to compare the parameters or properties of similar elements.
The settings are advanced and appear only in the dialog box.
Open the Property Inspector
In the Simulink Toolstrip, on the Modeling tab, in the Design gallery, select Property Inspector.
While in the Simulink Editor, press Ctrl+Shift+I.
Set Block Parameter Value
You can set parameters on most blocks. Parameters allow you to specify how a block operates in the model.
Open the Property Inspector. On the Modeling tab, in the Design gallery, click Property Inspector.
In the model, select the Gain block named
In the Property Inspector, set the Gain parameter to
2, then press Enter.
Introduced in R2016b