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

4 次查看(过去 30 天)
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'

采纳的回答

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

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Subsystems 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by