Simulink.VariantManager.exportVariantConfigurations
R2026bDescription
Simulink.VariantManager.exportVariantConfigurations(
exports the modelName,FileName=fileName)Simulink.VariantConfigurations object
associated with model modelName to the file specified by
fileName. Supported file formats are .mat and
.m. If no file extension is specified, the function defaults to
.m.
Examples
Input Arguments
Tips
To recreate the exported variant configurations object, run the exported
.m script or load the exported .mat file using the
load function.
Version History
Introduced in R2026b