Why do I receive an error when using Bus Objects in a Masked Subsystem in Simulink 6.0 (R14)?

4 vues (au cours des 30 derniers jours)
I have a Masked Subsystem with a Bus Creator block. The properties of the bus are specified with a bus object in the base workspace. When I try to run the model I get the following error:
Simulink.DataType object 'bs_pva_Obj' is not in scope from 'some_original_model/SOME_SYSTEM/Bus Creator'

Réponse acceptée

MathWorks Support Team
MathWorks Support Team le 27 Juin 2009
This bug has been fixed for Release 14 SP1 (R14SP1). For previous releases, please read below for any possible workarounds:
This has been verified as a bug in the way that bus objects are handled in Simulink 6.0 (R14) .
Currently, to work around this issue, you can remove the mask from the Subsystem or use the Bus Object as a Mask Parameter.

Plus de réponses (0)

Catégories

En savoir plus sur Subsystems dans Help Center et File Exchange

Produits

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by