How do I output a bus object from a constant block in Simulink? Keep encountering errors that I can't figure out...
Ältere Kommentare anzeigen
I'm working on a project where I want to use a constant block to output a bus object that will be fed into the bus input port on a bus assignment block. I also want to store this constant data in the model workspace, but the bus object itself comes from a data dictionary.
I currently have the model workspace with my parameter set up like this:

And when I try to Update Diagram, the error that the diagnostic viewer always returns is:

The main thing that confuses me is that I copied this format for outputting a bus from a constant in the model workspace from another model where it works flawlessly. I have checked and double checked that I have it set up the same, yet Simulink does not seem to think that the parameter is actually set as a struct.
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Naming Conventions finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!