Main Content

CompileOptions

Dimensional analysis and unit conversion options

Description

The SimBiology®CompileOptionsproperty is an object that defines the compile options available for simulation; you can specify whether dimensional analysis and unit conversion is necessary for simulation. Compile options are checked during compile time. The compile options object can be accessed through theCompileOptionsproperty of theconfigsetobject. RetrieveCompileOptionsobject properties with thegetfunction and configure the properties with thesetfunction.

Property Summary

DefaultSpeciesDimension Dimension of species name in expression
DimensionalAnalysis Perform dimensional analysis on model
Type DisplaySimBiologyobject type
UnitConversion Perform unit conversion

Characteristics

Applies to Object:configset
Data type Object
Data values Compile-time options
访问 Read-only

Examples

  1. Retrieve theconfigsetobject ofmodelObj.

    modelObj = sbiomodel('cell'); configsetObj = getconfigset(modelObj);
  2. Retrieve theCompileOptionsobject (optionsObj) from theconfigsetObj.

    optionsObj = get(configsetObj,'CompileOptions'); Compile Settings: UnitConversion: false DimensionalAnalysis: true

See Also

get,set