Hello everyone,
I'm working on a code of a sfunction which has a Bus signal as input and another bus signal as output.
I found this tutorial on internet
which explains what I need to do by using the Simulink Sfunction builder utility.
In the third paragraph of the solution part, it has been explained how to set an input as Bus signal by selecting the Bus propriety in the drop-down list and by specifying the name of the Bus signal. This last one is a huge constraint for me, because it was supposed to have whatever bus signal as input to my sfunction.
How can I make my sfunction independent of the name of the Bus signal? How can I overcome this issue?
thanks for reading
Best Answer