Documentation

Configuration Reuse

Store configuration parameters for multiple models or model variants

Functions

attachConfigSetAssociate configuration set or configuration reference with model
attachConfigSetCopyCopy configuration set or configuration reference and associate it with model
detachConfigSetDissociate configuration set or configuration reference from model
getActiveConfigSetGet model's active configuration set or configuration reference
getConfigSetGet one of model's configuration sets or configuration references
getConfigSetsGet names of all of model's configuration sets or configuration references
setActiveConfigSetSpecify model's active configuration set or configuration reference
Simulink.BlockDiagram.loadActiveConfigSetLoad, associate, and activate configuration set with model
Simulink.BlockDiagram.propagateConfigSetPropagate top model configuration reference to referenced models
Simulink.BlockDiagram.restoreConfigSetRestore model configuration for converted models
Simulink.BlockDiagram.saveActiveConfigSetSave active configuration set of model
set_paramSet system and block parameter values
get_paramGet parameter names and values

Classes

Simulink.ConfigSetModel configuration set
Simulink.ConfigSetRefLink model to configuration set stored independently of any model

Examples and How To

Multiple Configuration Sets in a Model

Using Multiple Configuration Sets in a Model

Share a Configuration for Multiple Models

Share a Configuration Set Across Models

Share a Configuration Across Referenced Models

This example shows how to share the same configuration set for the top model and referenced models in a model reference hierarchy.

Manage a Configuration Set

How to specify interchangeable sets of simulation configuration parameters for a model.

Manage a Configuration Reference

How to use configuration sets that exist independently of models

Model Configuration Command Line Interface

Configuration Set API

Concepts

About Model Configurations

Overview of Model Configurations

About Configuration Sets

A configuration set comprises groups of related parameters called components.

About Configuration References

About Configuration References

Model Configuration Pane

Parameters for specifying the name and description of your configuration set.

Model Parameters

Parameters specific to models.

Related Information

Was this topic helpful?