Hi Mikel,
I understand that you are trying to use the Model Reference Blocks in R20a in a similar way to R18a, where buses were automatically created.
In Simulink R20a, the behaviour of Model Reference blocks when generating bus objects from subsystems has changed. If you prefer the previous behaviour where bus objects were automatically created, you can adjust the settings in Simulink to match that behaviour. Please follow the steps below to achieve this.
- Open the Simulink Model Configuration Parameters dialog by going to the Simulink menu and selecting "Model Configuration Parameters".
- In the dialog, go to the "Model Referencing" tab.
- Under the "Signal and bus object interfaces" section, you will see a setting called "Create bus objects for root-level inports and outports". By default, it is set to "In/Out Bus Element ports", which is causing the behaviour you described.
- To change it back to the previous behaviour, select "Bus objects" from the dropdown menu.
- Click on "OK" to apply the changes.
Note that this change will apply to all Model Reference blocks in your model, so make sure to consider the impact on other parts of your model before making this change.