Watch this Author's files
Although the Document is usefull but many fearure of code generation are not covered and it is not so much user friendly.
Good introduction.
The file is in: fhttp://www.mathworks.com/matlabcentral/files/2972/9554_9975v01_RTW_upd.pdf
I could not to download the file. May you send it to me?
I need it
Contact us at files@mathworks.com