Documentation

Simulink.BlockDiagram.restoreConfigSet

Restore model configuration for converted models

Syntax

[isRestored, restoredModels] = Simulink.BlockDiagram.restoreConfigSet(model)

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

[isRestored,restoredModels] = ...
Simulink.BlockDiagram.restoreConfigSet('sldemo_mdlref_depgraph');

Input Arguments

collapse all

Name of top model, specified as a character vector.

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.

Introduced in R2012b

Was this topic helpful?