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.
Best Answer