MATLAB: Do I receive an error using the tlc_c file when trying to build the model using the Real-Time Workshop

buildbuildingcodeerrorgenerationmakeprocessr12.1pv1r12.1pv1_swatrtwsimulink codertlc

I have selected my system target file and then attempt to build. However, I receive the following error:
Error executing build command: Error using ==> make_rtw
Error using ==> tlc_c (LocalInvokeTLC)
Error - Errors occurred - aborting

Best Answer

This bug has been fixed for Release 14 (R14). For previous releases, please read below for any possible workarounds:
This has been verified as a bug in the Real-Time Workshop 4.1 (R12.1) and later in the way that the Target Language Compiler handles paths to the TLC-file that contain directories with blank spaces in them.
Currently, to work around this issue, try changing the names of the directories on the path to your TLC-file path so that there are no white spaces in their names.