In the S-function Limitations section of the Simulink documentation, I see that handwritten C MEX S-functions do not support bus input and output signal.
For the S-Function Builder block, bus signals are not mentioned, so I am assuming that the S-function Builder block supports bus input and output signals.
However, I can not find any documentation or demo explaining how to do this.
Best Answer