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

4 visualizzazioni (ultimi 30 giorni)
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'

Risposta accettata

MathWorks Support Team
MathWorks Support Team il 27 Giu 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.

Più risposte (0)

Categorie

Scopri di più su Subsystems in Help Center e File Exchange

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by