Skip to Main Content Skip to Search
Product Documentation

reset (root) - Delete all model objects from root object

Syntax

reset(sbioroot)

Description

reset(sbioroot) deletes all SimBiology model objects contained by the root object. This call is equivalent to sbioreset.

The root object contains a list of model objects, available units, unit prefixes, and kinetic laws.

To add a kinetic law to the user-defined library, use the sbioaddtolibrary function. To add a unit to the user-defined library, use sbiounit followed by sbioaddtolibrary. To add a unit prefix to the user-defined library, use sbiounitprefix followed by sbioaddtolibrary.

Examples

  1. Query sbioroot, which has two model objects.

    sbioroot
    
       SimBiology Root Contains:
    
        Models:                           2
        Builtin Abstract Kinetic Laws:    3
        User Abstract Kinetic Laws:       1
        Builtin Units:                    54
        User Units:                       0
        Builtin Unit Prefixes:            13
        User Unit Prefixes:               0
  2. Call reset.

    sbioroot
    
       SimBiology Root Contains:
    
        Models:                           0
        Builtin Abstract Kinetic Laws:    3
        User Abstract Kinetic Laws:       1
        Builtin Units:                    54
        User Units:                       0
        Builtin Unit Prefixes:            13
        User Unit Prefixes:               0

See Also

sbioaddtolibrary, sbiohelp, sbioreset, sbioroot, sbiounit, sbiounitprefix

  


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