This example shows how to update a model with a set of design variables.
Open the Simulink® model and load the pre-configured Response Optimization tool session.
load('pidtune_demo_sdosession_update_dv.mat')
sdotool(SDOSessionData)
The Response Optimization tool opens and loads the preconfigured session. In
the Data area, DesignVars1
is a set of
tuned design variables.
In the Design Variables Set list, select the design
variable set, DesignVars1
.
Open the Edit dialog box.
Click for the Design Variable Set
list.
Select the variables you want to update in the model.
For this example, select Kd
, Ki
, and
Kp
.
Click Update model variables.
Plot the model response.
In the Response Optimization tab, click Plot Current Response.