simbio.diagram.joinBlock
Syntax
Description
simbio.diagram.joinBlock combines cloned blocks of a species block into
one block in SimBiology Model
Builder.
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.
simbio.diagram.joinBlock(
combines all copies of the SimBiology species speciesObj)speciesObj block into one
block in the model diagram. speciesObj must be scalar.
simbio.diagram.joinBlock(
combines all copies of the species speciesObj,exprObj)speciesObj block into one block and
keeps the block that is connected to the expression object exprObj in
the diagram. Both speciesObj and exprObj must be
scalar.
simbio.diagram.joinBlock(
combines cloned species blocks connected to the expression objects
speciesObj,exprObj1,exprObj2)exprObj1 and exprObj2 into one block.
speciesObj, exprObj1, and
exprObj2 must be scalar.
Examples
Input Arguments
Version History
Introduced in R2021a