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.
DefaultSpeciesDimension | Dimension of species name in expression |
DimensionalAnalysis | Perform dimensional analysis on model |
Type | Display SimBiology object type |
UnitConversion | Perform unit conversion |
Applies to | Object: configset |
Data type | Object |
Data values | Compile-time options |
Access | Read-only |
Retrieve the configset
object of modelObj
.
modelObj = sbiomodel('cell');
configsetObj = getconfigset(modelObj);
Retrieve the CompileOptions
object
(optionsObj
) from the configsetObj
.
optionsObj = get(configsetObj, 'CompileOptions');
Compile Settings:
UnitConversion: false
DimensionalAnalysis: true