Documentation Center

  • Trial Software
  • Product Updates

Contents

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 preconfigured Design Optimization tool session.

load('pidtune_demo_sdosession_update_dv.mat')
sdotool(SDOSessionData)

The Design Optimization tool opens and loads the preconfigured session. In the Design Optimization Workspace, 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 Examples

Was this topic helpful?