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

4 visualizaciones (últimos 30 días)
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'

Respuesta aceptada

MathWorks Support Team
MathWorks Support Team el 27 de Jun. de 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.

Más respuestas (0)

Categorías

Más información sobre Subsystems en Help Center y File Exchange.

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by