|On this page…|
From the Simulink Library Browser, select File > New > Library .
Drag the Ramp block to the Library editor window.
Right-click the Ramp block and select Mask > Create Mask.
The Mask Editor opens.
In the Icons & Ports tab, enter the following command in the Icon drawing commands pane:
Click the Promote underlying block parameter(s) to this mask parameter button.
Add Slope and Initial Output to the promoted parameters list, and click OK. Add a custom parameter Company Notes.
Rename the block to Derived Ramp Block.
From the Simulink® Library Browser, select File > New > Model.
Drag the Derived Ramp Block to the Model.
The Derived Ramp Block in the model has multiple masks on it. You can set parameters of the derived mask.