simbio.diagram.splitBlock
Split SimBiology species block in diagram
Description
simbio.diagram.splitBlock
splits a species block so that each expression that references the species is connected to a different copy of the species block inSimBiology Model Builder。The changes are instantly reflected in the app.
Before you run the function at the command line:
Open the corresponding SimBiology model in theSimBiology Model Builder应用程序。
将模型从应用程序导出到MATLAB®workspace by selectingExport>Export Model to MATLAB Workspaceon theHometab of the app.
You can query and configure only the properties of the objects shown in theDiagramtab of the app. The objects shown in the diagram are compartments, species, reactions, rate rules, repeated assignment rules, and parameters that are on the left-hand side of a rate rule, a repeated assignment rule, or an event function.
makes copies of a SimBiology speciesexpr.
= simbio.diagram.splitBlock(speciesObj
)speciesObj
block so that each expression that referencesspeciesObj
is connected to a different copy of the species block and returns a list of expression objectsexpr.
that are connected tospeciesObj
。使用此功能使图表看起来不那么杂乱和更清晰。