Simulink.fault.exportEmbeddedModel
R2026bSyntax
Description
exports a version of the model, newModelHandle = Simulink.fault.exportEmbeddedModel(model,newModel,saveFolder)model, that contains embedded faults,
and saves the model with the name newModel, in the folder
saveFolder.
When you create a fault-embedded model by using this function, the function copies Simscape™ blocks and their faults as-is.
For more information on exporting models that have embedded faults, see Create Fault-Embedded Models.
exports a version of the model by using one or more name-value arguments.newModelHandle = Simulink.fault.exportEmbeddedModel(model,newModel,saveFolder,Name=Value)
Examples
Input Arguments
Name-Value Arguments
Output Arguments
Limitations
This function is unable to export faults that have behavior that contains Fault Data Inport blocks.
If your original model contains links that you create by using Requirements Toolbox™, the generated model does not contain these links.