SimEvents Upgrade Advisor Checks

Checks Overview

Use SimEvents® Upgrade Advisor checks to identify backward-compatibility issues in your model.

See Also

Check model and local libraries for legacy SimEvents blocks

Check model and its associated libraries for blocks from a version of SimEvents prior to 4.0 (R2011b).

Description

This Upgrade Advisor check identifies blocks in your model from a version of SimEvents prior to 4.0 (R2011b).

Blocks from versions of SimEvents prior to 4.0 (R2011b) are called legacy blocks. If your model contains only legacy blocks, it continues to function as originally designed, but does not have the benefit of feature updates and modeling syntax changes available in the latest version of SimEvents. Your model cannot contain a mix of legacy blocks and blocks from version 4.0 (R2011b) or later of SimEvents because these versions are incompatible.

Available with SimEvents.

Results and Recommended Actions

ConditionRecommended Action
This model contains blocks from a version of SimEvents prior to 4.0 (R2011b).Use the function seupdate to migrate the model to the latest version of SimEvents. For more information, refer to Migration Using seupdate in the SimEvents documentation.

See Also

Check for implicit event duplication caused by SimEvents blocks

Check configuration parameters of model for status of Prevent duplicate events on multiport blocks and branched signals option.

Description

This Upgrade Advisor check verifies if you have selected the Prevent duplicate events on multiport blocks and branched signals check box in the Configuration Parameters dialog box of your model.

When you run a model created in a version of SimEvents prior to R2012a, the model might exhibit a behavior called multifiring that leads to duplication of events in the simulation. This event duplication behavior is implicit in models with certain configurations and results from the way the software executes the blocks of such configurations. Implicit event duplication is resolved in R2012a with the addition of the configuration parameter Prevent duplicate events on multiport blocks and branched signals.

Available with SimEvents.

Results and Recommended Actions

ConditionRecommended Action
SimEvents >Prevent duplicate events on multiport blocks and branched signals check box is not selected.In the Configuration Parameters dialog box of your model, select the SimEvents > Prevent duplicate events on multiport blocks and branched signals check box.

An alternative to the recommended action in the preceding table is to use the Modify Settings button in the Action section of the Upgrade Advisor results pane. If you click Modify Settings, the software directly enables Prevent duplicate events on multiport blocks and branched signals.

See Also

Was this topic helpful?