MATLAB: Do I receive an error when generating code with the code generation report in Real-Time Workshop Embedded Coder 5.2 (R2008b)

codeinfoEmbedded Codergeneratereportselect

When trying to generate code using ert.tlc with the "Create code generation report" option selected, I get the following error:
Error building Real-Time Workshop target for block diagram 'test'. MATLAB error message:
Error using ==> tlc_c at 418
Internal error while creating code interface description file: codeInfo.mat. Aborting code generation.
The error is not model dependent and appears for every model I try to generate code for. I do not get any errors if I generate code without selecting the "Create code generation report" option.

Best Answer

This issue may be caused if the name of the directory in which the model is stored has the character '' ' '' (quote) in it. Try renaming the directory such that it does not have the" ' " character.