Exported SimBiology model object
Exported SimBiology® models are limited-access models that can be simulated and accelerated. You can speedup simulation of exported models using Parallel Computing Toolbox™, and deploy exported models using MATLAB® Compiler™.
By default, all active dose objects, species, parameters, and compartments export with a SimBiology model, and are editable in the exported model object. You can limit which doses, species, parameters, and compartments are editable using additional options during export. Reactions, rules, and events are never editable in an exported model.
Use the export method to export a SimBiology model.
|export (model)||Export SimBiology models for deployment and standalone applications|
Function files the model depends on. This property is read only.
Text with additional information associated with the exported model. This property is read only.
Creation time of the exported model. This property is read only.
Vector of initial values for modifiable species, compartments, and parameters.
Name of the exported model. This property is read only.
HTML text describing the exported model object. This property is read only.
SimBiology.export.SimulationOptions object specifying simulation options.
Array of SimBiology.export.ValueInfo objects of modifiable species, parameters, and compartments.
|accelerate||Prepare exported SimBiology model for acceleration|
|getdose||Return exported SimBiology model dose object|
|getIndex||Get indices into ValueInfo and InitialValues properties|
|isAccelerated||Determine whether an exported SimBiology model is accelerated|
|simulate||Simulate exported SimBiology model|
Handle. To learn how handle classes affect copy operations, see Copying Objects in the MATLAB documentation.
Load a sample SimBiology model object, and export.
modelObj = sbmlimport('lotka'); em = export(modelObj)
em = Model with properties: Name: 'lotka' ExportTime: '12-Dec-2012 15:20:13' ExportNotes: ''
Display the editable values (compartments, species, and parameters) information.
ans = 8x1 ValueInfo array with properties: Constant InitialValue Name Parent QualifiedName Tag Type Units
There are 8 editable values. Display the names of the editable values.
ans = 'unnamed' 'x' 'y1' 'y2' 'z' 'c1' 'c2' 'c3'
Display the exported model simulation options.
ans = ODESimulationOptions with properties: AbsoluteTolerance: 1.0000e-06 AbsoluteToleranceScaling: 1 AbsoluteToleranceStepSize:  MaxStep:  OutputTimes:  RelativeTolerance: 1.0000e-03 SolverType: 'ode15s' MaximumNumberOfLogs: Inf MaximumWallClock: Inf StopTime: 10 TimeUnits: 'second'
The exported model has a deterministic solver.