Class: SimBiology.export.Model
Simulate exported SimBiology model
[t,x,names]
= simulate(model)
[t,x,names]
= simulate(model,initialValues)
[t,x,names]
= simulate(model,initialValues,doses)
simDataObj = simulate(___)
[
simulates a model,
using the default initial values specified by t
,x
,names
]
= simulate(model
)model.InitialValues
(which
are always equal to the InitialValue
property on
the corresponding ValueInfo
object). simulate
returns:
t
, time samples.
x
, simulation data that contain
variation in the quantity of states over time.
names
, column labels of simulation
data x
.
You can set additional simulation options using the property SimBiology.export.Model.SimulationOptions
.
[
simulates
a model, using the values specified in t
,x
,names
]
= simulate(model
,initialValues
)initialValues
as
the initial values of the simulation.
[
simulates
the model, using the specified initial values and doses.t
,x
,names
]
= simulate(model
,initialValues
,doses
)
simDataObj = simulate(___)
returns
simulation data in a SimData object
simDataObj
using
any of the input arguments in the previous syntaxes. The simDataObj
contains
time and state data, as well as metadata, such as the types and names
for the reported states. You can access the time, data, and names
stores in simDataObj
using the properties simDataObj.Time
, simDataObj.Data
,
and simDataObj.DataNames
, respectively.
|
|
|
Vector of values for Default: Values specified in |
|
Vector of dose objects specifying the doses used for simulation.
The input dose objects must be a subset of the doses in the exported
model, as returned by Default: All dose objects in the exported model. |
|
n-by-1 vector of time samples from the simulation, where n is the number of time samples. |
|
n-by-m matrix of simulation
data, where n is the number of time samples and m is
the number of states logged during the simulation. Each column of |
|
m-by-1 cell array of character vectors with
names labeling the rows and columns of |
|
|