Main Content

Update Model with Design Variables Set

This example shows how to update a model with a set of design variables.

Open the Simulink® model and load the pre-configured Response Optimizer session.


The Response Optimizer 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.

Related Topics