| Contents | Index |
sbioaccelerate(modelObj)
sbioaccelerate(modelObj, configsetObj)
sbioaccelerate(modelObj, variantObj)
sbioaccelerate(modelObj, doseObj)
sbioaccelerate(modelObj, configsetObj, variantObj)
sbioaccelerate(modelObj, configsetObj, doseObj)
sbioaccelerate(modelObj, configsetObj, variantObj, doseObj)
Use sbioaccelerate to prepare a model for accelerated simulations before running sbiosimulate. You must use the same model, configset, and dose input arguments when calling both functions, however, you can use any or no variant input arguments when calling sbioaccelerate.
Note You need to run sbioaccelerate again, before calling sbiosimulate, if you make any modifications to this model, other than:
|
sbioaccelerate(modelObj) prepares a model object (modelObj) for accelerated simulation using its active configset, active variants and active doses. A SimBiology model can contain multiple configsets with one being active at any given time. The active configset contains the settings that will be used to prepare the model for acceleration.
sbioaccelerate(modelObj, configsetObj) uses the configset configsetObj. A configset object stores simulation specific information.
sbioaccelerate(modelObj, variantObj) uses the variant object or array of variant objects variantObj. A variant object's settings supersede model property-values.
sbioaccelerate(modelObj, doseObj) simulates modelObj using the dose object or array of dose objects doseObj. A SimBiology Dose object defines additions that are made to species amounts or parameter values.
sbioaccelerate(modelObj, configsetObj, variantObj), sbioaccelerate(modelObj, configsetObj, doseObj) uses the configset configsetObj and variant object or variant array variantObj or dose object or dose array doseObj. Note if the third argument is empty it is assumed to be variantObj.
sbioaccelerate(modelObj, configsetObj, variantObj, doseObj)
modelObj |
SimBiology model object. |
configsetObj |
Specify the configuration set object to use in the simulation. For more information about configuration sets, see Configset object. |
variantObj |
Specify the variant object to apply to the model during the simulation. For more information about variant objects, see Variant object. |
doseObj |
Specify the dose object to apply to the model during the simulation. For more information about dose objects, see ScheduleDose object and RepeatDose object. |
This example shows how to prepare a model for accelerated simulation.
% Create a SimBiology model from an SBML file.
m = sbmlimport('lotka.xml');
% Prepare the model for accelerated simulation.
sbioaccelerate(m);
% Simulate the model for different initial amounts of x.
x = sbioselect(m, 'type', 'species', 'name', 'x');
for i=1:10
x.initialAmount = i;
sd(i) = sbiosimulate(m);
end
% Plot the results.
sbioplot(sd);

See how to analyze, visualize, and model biological data and systems using MathWorks products.
Get free kit| © 1984-2012- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |