Implementing Model Reference, Data Dictionaries, and Buses
Show older comments
Hello,
I have a large model with multiple collaborators. We have a system bus defined as well as several submodels using model reference. In order to simplify the workspace, I wanted to use Data Dictionaries for the model referenced subsystems. This seems to interfere with the system bus, though. It looks like I'll need to Bus system defined in the data dictionary for each referenced model. This would work, but would be incredibly cumbersome if the system bus was modified - we'd have to ensure the same modification occurred with every data dictionary.
Is there a way to have the referenced model subsystem use the data dictionary for its workspace but access the base workspace for the system bus? Right now, if the bus is not defined in the data dictionary the model cannot resolve the bus even though it is defined in the base workspace.
The main place I am facing this issue is initializing the system bus using a constant (a struct defined in the data dictionary) The constant block needs to be explicitly set as the bus datatype
Accepted Answer
More Answers (0)
Categories
Find more on Assemble Large-Scale Model Components in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!