When I name a signal in a subsystem, and then input it to a Bus Creator Block in the top-level mode, the generated code for the signal does not always show up where I want it to be. Regardless of where I name the signal, I want it to be defined in the generated code for the Bus Creator since that way the code looks similar to the Simulink model. How can I ensure that all signals that are input to a Bus Creator Block show up in the respective generated code for this block?
MATLAB: How to ensure that all signals that are input to a Bus Creator Block show up in the respective generated code for this block
Embedded Coder
Related Question
- Am I seeing (signal 1), (signal 2), … (signal n) being appended to the signal names in the Bus Creator Block
- Is it possible to use a Multiport Switch to select between several buses in Simulink 6.1 (R14SP1)
- How to name signals inside a Bus Creator in Simulink
- What is the difference between the Mux (Demux) and Bus Creator (Bus Selector) blocks in Simulink
- How to retrieve the name of a signal coming into a Bus Creator block in Simulink, when the signal is not propagated from a Subsystem, without having to update the diagram
Best Answer