User`s guide
Quick Start Examples
25-13
end
ft.setSubBar(0);
result = ft;
mdladvObj.setActionEnable(false);
2
Close the Model Advisor and your model if either are open.
3
At the command prompt, enter:
sl_refresh_customizations
4
From the Command Window, select New > Model to open a new model.
5
In the Simulink model window, create two Constant blocks named Const_One and
Const_1:
• Right-click the Const_One block, choose Constant Parameters, and assign a
Constant value of one.
• Right-click the Const_1 block, choose Constant Parameters, and assign a
Constant value of 1.
• Save your model as example3_qs.
6
From the model window, select Analysis > Model Advisor > Model Advisor to
open the Model Advisor.
7
A System Selector — Model Advisor dialog box opens. Click OK. The Model
Advisor window opens. It might take a few minutes.
8
If the By Product folder is not displayed in the Model Advisor window, select Show
By Product Folder from the Settings > Preferences dialog box.
9
In the left pane, click By Product > Demo > Check Constant block usage.
10
Click Run This Check. The Model Advisor check fails for the Const_1 block. The
Model Advisor box has a Fix Constant blocks button in the Action section of the
Model Advisor dialog box.