isAccelerated(SimFunction)
Determine if SimFunction object is accelerated
Syntax
tf = isaccelerated(F)
tf = isaccelerated(F,computerType)
Arguments
F | SimFunction object
created by the createSimFunction
method of a SimBiology model. |
computerType | Character vector specifying a computer type. You can specify any
valid archstr supported by the function computer. |
Description
returns true if tf = isaccelerated(F)SimFunction object
F is accelerated for the current type of computer or
false otherwise.
returns tf = isaccelerated(F,computerType)true if F is accelerated for the
specified type of computer or false otherwise.
Note
F is automatically accelerated at the first function
execution. However, manually accelerate the object if you want it accelerated in
your deployment applications.
Examples
See Also
References
[1] Gillespie D.T. "Exact Stochatic Simulation of Coupled Chemical Reactions," (1977) The Journal of Physical Chemistry, 81(25), 2340-2361.
Version History
Introduced in R2012b
