simbio.diagram.splitBlock
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 in SimBiology 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 the SimBiology Model Builder app.
Export the model from the app to MATLAB® workspace by selecting Export > Export Model to MATLAB Workspace on the Home tab of the app.
You can query and configure only the properties of the objects shown in the Diagram tab 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 species expr
= simbio.diagram.splitBlock(speciesObj
)speciesObj
block so that each
expression that references speciesObj
is connected to a different copy
of the species block and returns a list of expression objects expr
that
are connected to speciesObj
. Use this function to make the diagram look
less cluttered and clearer.
Examples
Input Arguments
Output Arguments
Version History
Introduced in R2021a