Why do I receive an error when using Bus Objects in a Masked Subsystem in Simulink 6.0 (R14)?
4 views (last 30 days)
Show older comments
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'
Accepted Answer
MathWorks Support Team
on 27 Jun 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.
0 Comments
More Answers (0)
See Also
Categories
Find more on Subsystems in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!