createExternalParametersAlternateSource
R2026bCreate alternate value source for published model external parameters
Since R2026b
Syntax
Description
createExternalParametersAlternateSource(
creates and assigns a data dictionary (block).sldd) as the alternate
value source for published model external parameters at the Model
block specified by block. The Model block must
reference a published model. The data dictionary uses the parameter values captured
when the published model was created. The data dictionary filename is the published
model filename with an _params suffix.
When you do not use an alternate value source, simulations use values from the original sources. These values can change after publishing. For example, values in the base workspace can change after publishing.
Examples
Input Arguments
Tips
To specify an existing data dictionary as the alternate value source, set the
ExternalParametersAlternateSourceblock parameter to the data dictionary filename.To remove the alternate value source and use the original value sources, set the
ExternalParametersAlternateSourceblock parameter to"".
Version History
Introduced in R2026b