Are Bus objects necessary after converting a subsystem to a referenced model?
1 回表示 (過去 30 日間)
古いコメントを表示
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)
回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Create Large-Scale Model Components についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!