Products & Services Solutions Academia Support User Community Company

Learn more about SimBiology   

Version 2.4 (R2008b) SimBiology Software

This table summarizes what's new in Version 2.4 (R2008b):

New Features and ChangesVersion Compatibility ConsiderationsFixed Bugs and Known ProblemsRelated Documentation at Web Site
Yes
Details below
Yes—Details labeled as Compatibility Considerations, below. See also Summary.Bug Reports
Includes fixes
No

New features and changes introduced in this version are:

Enhanced Usability with the Redesigned Reaction Pane

In the SimBiology desktop, the redesigned reaction pane consolidates the procedure to configure kinetic law, rate parameters, rate species, and reaction rates on one screen.

Additional Support for Showing Usages and Generating Reports in the SimBiology Desktop

Additional Support for Showing Usages

The Compartments and Species panes now have added support for showing usages of compartments and species in a model. To show usages of a component, right-click (Windows®), or Ctrl+click (Macintosh®) the compartment or species table, and select Show Usages. Support has also been added for showing usages from the Diagram View.

Additional Support for Generating Reports

You can now automatically populate report contents with one click in the Report pane. In the Project Explorer, right-click (Windows), or Ctrl+click (Macintosh) Project Tasks and select Add Task > Generate report to create a report. Select Help > SimBiology Desktop Help to see the context-sensitive help for information on how to generate reports. Click AutoBuild to populate the contents of your report automatically.

Support for Specifying Additional Inputs in Custom Plot Types

You can now specify additional inputs for plot types and define their types, default values, and ranges where applicable. For example, you can use this feature to extend the Time plot with an additional input to specify markers.

Compatibility Considerations

This consideration applies when you previously created custom plot types. Before, you could define the number of species or parameters that could be specified for x or y arguments. This functionality has been removed. You should modify your plot code to enforce this constraint. For an example of enforcing the constraint, see the code for the built-in plot type XY.

To access this code:

  1. In the SimBiology desktop, select Desktop > Library Explorer. The Library Explorer opens.

  2. Select Plot Types.

  3. In the plot types table, select XY. The code section updates to show XY plot type code.

Edit Graphical Models Using the New Block Property Editor

The Block Property Editor is a tool that facilitates model building using the Diagram View pane by docking next to the diagram and allowing you to change properties of the selected block in the diagram. If you select multiple blocks, you can edit the properties that are common between each block. To open the Block Property Editor, select a block in the Diagram View pane, and then select Diagram > Tools > Block Property Editor.

Manage and Share Libraries Using the New Library Explorer

The Library Explorer adds the ability to add, modify, and share the contents of kinetic law, plot type, unit, unit prefix, and block libraries. To open the Library Explorer, in the SimBiology desktop, select Desktop > Show Library Explorer.

The Library Explorer shows all built-in and user-defined components, namely kinetic laws, units, unit prefixes, plot types, and blocks.

For help, open the Library Explorer and select Help > SimBiology Desktop Help to see the context-sensitive help. Select a library in the Library Explorer to view information specific to the library.

Additional Options for Renaming Compartments, Species, and Parameters

New Method for Renaming at the Command Line

The newly added rename method allows you to change the name of a compartment, species, or parameter, and update the name in expressions that refer to the component. Use the rename method instead of the set method to enable the name change and expression update.

New Options for Renaming in the SimBiology Desktop

You can specify how compartments, species, and parameter names should be updated in expressions. When you rename a compartment, species, or parameter, by default the names are set to be updated in all expressions that refer to the component being renamed. During renaming, if the component is used in one or more expressions, you will see a dialog box that tells you which expressions will be updated. For example, the following dialog box appears when you try to rename species G to Gnew.

You can choose not to see this dialog box for every instance of renaming. You can also set your preferences on whether expressions should be updated. To select preferences for renaming:

  1. Select File > Preferences. The Preferences dialog box opens.

  2. Click Rename to view and select default renaming options.

You can also specify whether to update expressions while renaming a component in the Compartment, Species, or Parameter panes. Right-click (Windows or Linux®) or Ctrl+click (Macintosh) the species, parameters, or compartment table and select Rename. This allows you to select whether to use the new name in all expressions referring to the component.

Compatibility Considerations

Previously, if you changed the name in a table or the diagram, expressions that used the components were not updated unless you selected Rename in Expressions from the context menu. Now the default is to change the name in expressions. But, you will see a dialog box that allows you to cancel the action if necessary, and you can specify the default as shown in Additional Options for Renaming Compartments, Species, and Parameters.

Change in the Random Number Generator Used During Stochastic Simulations

The default random number generator used during stochastic simulation has changed. The stochastic solver now uses the random numbers from the MATLAB default stream. When you run a model using a stochastic solver, and have set the RandomState property in the configuration set, you may see different simulation results relative to previous releases because the random numbers used may be different.

For more information about the change to the random number generator, see Upgrade to Random Number Generator in the MATLAB release notes.

Compatibility Considerations

If you never set the RandomState property, there should be no compatibility considerations. If however, you have previously set RandomState for your model and want to reproduce your previous results, type rand('state',0); at the command line before running the simulation. This sets the random number generator to the one used in previous releases.

Functions and Properties Being Removed

For more information about the process of removing functions, see "About Functions Being Removed" in What Is in the Release Notes.

Function or Property NameWhat Happens When You Use Function or Property?Use This InsteadCompatibility Considerations
sbioeventErrorsaddeventEvents must belong to a model. Replace all existing instances of sbioevent with addevent.
sbioparameterErrorsaddparameterParameters must belong to a model or a kinetic law. Replace all existing instances of sbioparameter with addparameter.
sbioreactionErrorsaddreactionReactions must belong to a model. Replace all existing instances of sbioreaction with addreaction.
Model name as an input argument for sbiorootErrorssbioselectsbioroot does not accept a model name as an input argument. Use sbioselect to query models by name.
sbioruleErrorsaddruleRules must belong to a model. Replace all existing instances of sbiorule with addrule.
sbiospeciesErrorsaddspeciesSpecies must belong to a compartment. Replace all existing instances of sbiospecies with addspecies.
sbioregisterunitErrorsUnit object and sbioaddtolibrarySee New Way to Add Units and Unit Prefixes.
sbiounregisterunitErrors sbioremovefromlibrarySee New Way to Add Units and Unit Prefixes.
sbioregisterunitprefixErrors Unit object and sbioaddtolibrarySee New Way to Add Units and Unit Prefixes.
sbiounregisterunitprefixErrors sbioremovefromlibrarySee New Way to Add Units and Unit Prefixes.
BuiltInKineticLawsErrors BuiltInLibrarySee Changes to the Library Structure in the Root.
BuiltInUnitPrefixesErrors BuiltInLibrarySee Changes to the Library Structure in the Root.
BuiltInUnitsErrorsBuiltInLibrarySee Changes to the Library Structure in the Root.
UserDefinedKineticLawsErrorsUserDefinedLibrarySee Changes to the Library Structure in the Root.
UserDefinedUnitsErrorsUserDefinedLibrarySee Changes to the Library Structure in the Root.
UserDefinedUnitPrefixesErrorsUserDefinedLibrarySee Changes to the Library Structure in the Root.

  


Recommended Products

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.

 © 1984-2009- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS