Skip to Main Content Skip to Search
Product Documentation

StopTime - Stop time for simulation

Description

StopTime is a property of a Configset object. This property sets the stop time for a simulation. The type of StopTime is specified in the property StopTimeType.

Characteristics

Applies toObject: Configset
Data typedouble
Data valuesEnter a positive number. Default is 10.
AccessRead/write

Examples

  1. Retrieve the configset object from modelObj.

    modelObj  = sbiomodel('cell');
    configsetObj = getconfigset(modelObj)
  2. Configure the StopTime to 20.

    set(configsetObj, 'StopTime', 20)
    get(configsetObj, 'StopTime')
    
    ans =
    
        20

See Also

StopTimeType, TimeUnits

  


Free Computational Biology Interactive Kit

See how to analyze, visualize, and model biological data and systems using MathWorks products.

Get free kit

Trials Available

Try the latest computational biology products.

Get trial software
 © 1984-2012- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS