Watch this Author's files
Unfortunately c-Code has poor documentation. So its difficult for beginners to understand whats happening
Good as an example for s-function beginers
Contact us at files@mathworks.com