Skip to Main Content Skip to Search
Product Documentation

get (any object) - Get object properties

Syntax

PropertyValue = get(Obj, 'PropertyName')
objProperties = get(Obj)

Arguments

PropertyValueValue defined for 'PropertyName'
ObjAbstract kinetic law, compartment, configuration set, event, kinetic law, model, parameter, PKCompartment, PKData, PKModelDesignPKModelMap, reaction, rule, SimData, species, or variant object.
'PropertyName'Name of the property to get.
objPropertiesStruct containing properties and values for the object, Obj.

Description

PropertyValue = get(Obj, 'PropertyName') gets the value 'PropertyValue' of the object, Obj's PropertyName property.

objProperties = get(Obj) gets the properties for the object, Obj, and returns it to objProperties.

Examples

  1. Create a model object.

    modelObj = sbiomodel ('my_model');
  2. Add parameter object.

    parameterObj = addparameter (modelObj, 'kf');
  3. Set the ConstantValue property of the parameter object to false and verify.

    MATLAB returns 1 for true and 0 for false.

    set (parameterObj, 'ConstantValue', false);
    get(parameterObj, 'ConstantValue')

    MATLAB returns

    ans =
    
         0

See Also

getadjacencymatrix, getconfigset, getdata, getparameters, getsensmatrix, getspecies, getstoichmatrix, set

  


Free Computational Biology Interactive Kit

See how to analyze, visualize, and model biological data and systems using MathWorks products.

Get free kit

Trials Available

Try the latest computational biology products.

Get trial software
 © 1984-2012- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS