simbio.diagram.getLine
Syntax
Description
simbio.diagram.getLine
returns properties of diagram lines shown 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.
returns the values of the specified properties QV
= simbio.diagram.getLine(sObj
,propertyNames
)propertyNames
of the
lines connected to a SimBiology object sObj
.
returns the values of the specified properties of a line that connects two SimBiology
objects QV
= simbio.diagram.getLine(obj1
,obj2
,propertyNames
)obj1
and obj2
. obj1
and obj2
must be scalar.
simbio.diagram.getLine(___)
displays the
names and values of all line properties. Use this syntax with any of the input arguments in
the previous syntaxes.
Examples
Input Arguments
Output Arguments
Version History
Introduced in R2021a