| Model Predictive Control Toolbox™ | |
| Provide feedback about this page |
Simulation Scenarios List
Selecting Scenarios in the tree causes this view to appear (see example below).
The following sections describe the view's main features:
Scenarios List
This table lists all the scenarios in your project. The example below lists two, Scenario1 and Scenario2.
The Name field is editable. The assigned name must be unique. Each listed scenario corresponds to a subnode of Scenarios (see Tree View). Editing the name in the table will rename the corresponding subnode.
The Controller field is editable. To change the selection, click the cell and select one of your controllers from the list. (All controllers appearing in the Controllers view are valid choices. See Controllers View.) You can also set this using the Scenario Specifications view (for more discussion, see Simulation Scenario View).
The Plant field is editable. To change the selection, click the cell and select one of your plant models from the list. (All models appearing in the Plant Models view are valid choices. See Plant Models View.) You can also set this in the scenario specifications (for more discussion, see Simulation Scenario View).
The Closed Loop field is an editable check box. If cleared, the simulation will be open loop. You can also set it in the scenario specifications (for more discussion see Simulation Scenario View).
The Constrained field is an editable check box. If cleared, the simulation will ignore all constraints specified in the controller design. You can also set it in the scenario specifications (for more discussion see Simulation Scenario View).
The Duration field is editable and must be a positive, finite real number. It sets the simulation duration. You can also set it in the scenario specifications (for more discussion, see Simulation Scenario View).
Scenario Details
This area is blank at all times.
Additional Notes
You can use this editable text area to enter comments, distinguishing scenario features, etc.
New
Creates a new scenario specification subnode containing the default Model Predictive Control Toolbox™ settings, and assigns it a default name.
Copy
Copies the selected scenario, creating a scenario specification subnode containing the same settings, and assigning it a default name.
Delete
Deletes the selected scenario.
Right-Click Options
Right-clicking the Scenarios node causes the following menu option to appear
New Scenario
Creates a new scenario specification subnode containing the default Model Predictive Control Toolbox settings, and assigns it a default name.
| Provide feedback about this page |
![]() | Controllers View | Controller Specifications View | ![]() |
| © 1984-2009- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |