Export model information as MATLAB tables
[
exports model information for components, ports, connectors, port interfaces, and
requirements to be imported into MATLAB® tables. The exported tables have prescribed formats to specify model element
relationships, stereotypes, and properties.exportedSet
] = systemcomposer.exportModel(modelName
)
To export a model, pass the model name as an argument to the
exportModel
function. The function returns a structure containing
five tables: components
, ports
,
connections
, portInterfaces
, and
requirementLinks
.
exportedSet = systemcomposer.exportModel('exMobileRobot') exportedSet = struct with fields: components: [3×4 table] ports: [3×5 table] connections: [1×4 table] portInterfaces: [3×9 table] requirementLinks: [4×15 table]