Are Bus objects necessary after converting a subsystem to a referenced model?
7 views (last 30 days)
Show older comments
Hello everyone,
I converted a subsystem to referenced model (goal is to have a protected model with tunable parameters)
After the conversion, it is not running and the error
A bus data type should be specified for the block 'RW000_HL_refmodel/TM data1' since a bus is entering its input port. This message is related to a hidden Outport block.
appears. But when I do, the next error says that the variable does not exist.
Caused by:
- Error evaluating parameter 'OutDataTypeStr' in 'RW000_HL_refmodel/TM data1'
- Cannot resolve variable 'TMdata'
- Variable 'TMdata' does not exist.
The model did not not have any saved bus objects before. Could it be necessary to create every single bus used in the bus editor because it is a referenced model now? This does not make sense to me...
Any suggestion is highly appreciated!
Peter
(I use R2019a but the model was created in an older version, R2015b I think)
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!