From: P-GPS on
Hi, I have tried converting some of my C files to S-functions.
However, the C functions have a single output and I intend to have
multiple outputs (similar to MEX functions). Is there an example that
someone can post, which will show me the exact procedure to do this.

Thanks.