Why do I receive an error using the tlc_c file when trying to build my model using the Real-Time Workshop?
26 views (last 30 days)
Show older comments
MathWorks Support Team
on 27 Jun 2009
Edited: MathWorks Support Team
on 14 Oct 2021
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
Accepted Answer
MathWorks Support Team
on 27 Jun 2009
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.
1 Comment
Kaustubha Govind
on 4 Apr 2014
Edited: MathWorks Support Team
on 14 Oct 2021
Hari: Did you write your own System Target File, or using one that a third-party (ie, not MathWorks) wrote? If not, this Answer does not apply to you.
More Answers (0)
See Also
Categories
Find more on Simulink Coder in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!