This is machine translation

Translated by Microsoft
Mouse over text to see original. Click the button below to return to the English verison of the page.

get (any object)

Get object properties


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


PropertyValueValue defined for 'PropertyName'

Abstract kinetic law, compartment, configuration set, event, kinetic law, model, parameter, PKCompartment, PKData, PKModelDesign PKModelMap, reaction, rule, SimData, species, or variant object.

'PropertyName'Name of the property to get.
objPropertiesStruct containing properties and values for the object, Obj.


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.


  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 =
Was this topic helpful?