Hi
You can use a bus creator block to merge the two bus signals into one as the bus creator block allows you to combine multiple input signals, either scalar or bus signals, into a single bus output.
Here are some steps that you can follow to use the bus creater block:
- Locate the Bus Creator block from the Simulink Library Browser. You can find it under the "Signal Routing" category.
- Drag and drop the Bus Creator block into your model at the desired location.
- Double-click on the Bus Creator block to open its parameters dialog box.
- In the parameters dialog box, click on the "Add Element" button to add bus elements to the output bus.
- Specify the names, data types, and dimensions of the bus elements according to your requirements. Repeat this step for each element you want to include in the output bus.
- Connect the two bus input signals to the appropriate input ports of the Bus Creator block.
- Connect the output port of the Bus Creator block to the downstream blocks in your model.
By following these steps, you have created a Bus Creator block that takes two bus input signals and combines them into a single bus output. The output bus will have elements corresponding to the elements you defined in the Bus Creator block's parameters.
Attaching the image of a sample model, how it will look after merging using bus creator block. I hope this will work for you as well.