This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.


Dimensional analysis and unit conversion options


The SimBiology® CompileOptions property 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 the CompileOptions property of the configset object. Retrieve CompileOptions object properties with the get function and configure the properties with the set function.

Property Summary

DefaultSpeciesDimensionDimension of species name in expression
DimensionalAnalysisPerform dimensional analysis on model
TypeDisplay SimBiology object type
UnitConversionPerform unit conversion


Applies toObject: configset
Data typeObject
Data valuesCompile-time options


  1. Retrieve the configset object of modelObj.

    modelObj = sbiomodel('cell');
    configsetObj = getconfigset(modelObj);
  2. Retrieve the CompileOptions object (optionsObj) from the configsetObj.

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

See Also

get, set

Was this topic helpful?