| SimBiology® | ![]() |
The Tag property specifies a label associated with a SimBiology object. Use this property to group objects and then use sbioselect to retrieve. For example, use the Tag property in reaction objects to group synthesis or degradation reactions. You can then retrieve all synthesis reactions using sbioselect. Similarly, for species objects you can enter and store classification information, for example, membrane protein, transcription factor, enzyme classifications, or whether a species is an independent variable. You can also enter the full form of the name of the species. This is useful when viewing the model in the Block Diagram Explorer. For example, the species object Name could be G6P for convenience, but in the Tag you should enter the full name, Glucose-6–phosphate. The graphical representation of the model in the Block Diagram Explorer (available in sbiodesktop) can be sorted by the Tag field, and this feature provides a method to view the full name.
| Applies to | Objects: abstract kinetic law, kinetic law, model, parameter, reaction, rule, and species |
| Data type | char string |
| Data values | Any char string |
| Access | Read/write |
Create a model object.
modelObj = sbiomodel ('my_model');Add a reaction object and set the Tag property to 'Synthesis Reaction'.
reactionObj = addreaction (modelObj, 'a + b -> c + d'); set (reactionObj, 'Tag', 'Synthesis Reaction')
Verify the Tag assignment.
get (reactionObj, 'Tag');
MATLAB returns:
ans =
'Synthesis Reaction'addkineticlaw, addparameter, addreaction, addrule, addspecies, sbioabstractkineticlaw, sbiomodel, sbioroot
![]() | StopTimeType | Trigger | ![]() |
| © 1984-2008- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |