Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

Multiple Configuration Sets in a Model

A model can include many different configuration sets. This capability is useful if you want to compare the difference in simulation output after changing the values of several parameters. Attaching additional configuration sets allows you to quickly switch the active configuration.

  1. To create additional configuration sets in your model, in the Model Explorer, select your model node in the Model Hierarchy pane and do one of the following:

    • Right-click the model node and select Configuration > Add Configuration.

    • Right-click an existing configuration set. In the context menu, select Copy.

  2. To import a previously saved configuration set, right-click the model node and select Configuration > Import. In the Import Configuration From File dialog box, select a configuration file.

  3. To modify the newly added configuration set, in the Model Hierarchy pane, select the configuration node. In the Contents pane, select a component, and then modify any parameters which are displayed in the right pane.

  4. To make the new configuration set the active configuration, in the configuration set context menu, select Activate. In the Model Hierarchy pane, the new configuration set name is now displayed as (Active).

  5. To simulate your model using a different configuration set, switch the active configuration by repeating step 4.

Related Topics

Was this topic helpful?