Main Content

Simulink.BlockDiagram.restoreConfigSet

Restore model configuration for converted models

Description

example

[isRestored, restoredModels] = Simulink.BlockDiagram.restoreConfigSet(model) restores the model configuration for all converted models after propagating a configuration reference from a top model to the referenced models. Execute the function from a writable folder.

Examples

collapse all

openExample('simulink/VisualizeModelReferenceHierarchiesExample')
[isRestored,restoredModels] = ...
Simulink.BlockDiagram.restoreConfigSet('sldemo_mdlref_depgraph');

Input Arguments

collapse all

Name of top model, specified as a character vector or string scalar.

Example: ‘mdl’

Output Arguments

collapse all

Indication of whether configuration reference propagation is successful, specified as a Boolean.

List of restored model names, specified as a cell array of character vectors.

Version History

Introduced in R2012b