Why do I get a system path error when simulating a model with Embedded MATLAB blocks in Simulink 6.5 (R2006b) ?
2 views (last 30 days)
Show older comments
MathWorks Support Team
on 27 Jun 2009
Edited: MathWorks Support Team
on 25 Aug 2022
When compiling an Embedded MATLAB block with Simulink 6.5 (R2006b) on 64-bit Windows machines, I get the following error that the path to LCC is not found. We have MSVC 8.0 (2005 professional) as the installed compiler, as there is no LCC shipped with MATLAB 7.3 (R2006b) for 64-bit Windows.
ERROR: <work>\sfprj\build\test1\sfun\src>"<matlabroot>\sys\lcc\bin\lccmake" -f test1_sfun.lmk
The system cannot find the path specified.
Accepted Answer
MathWorks Support Team
on 25 Aug 2022
Edited: MathWorks Support Team
on 25 Aug 2022
This error occurs when trying to generate code using a compiler that is not supported by the product / blockset that is used in the model. Please refer to the following page for the table of supported compilers for the individual products / blockset:
For the Current Release:
For Previous Releases:
Otherwise, this error is also reported when MATLAB cannot find the required 64-bit Compiler tools. The "x64-bit Compiler & Tools" may not have been installed along with Microsoft Visual C++ 8.0. To verify if those tools are installed, check the list of installed tools in the Help -> About window of Visual Studio. To resolve the issue, re-install MSVC with the "x64-bit Compiler & Tools" option selected.
0 Comments
More Answers (0)
See Also
Categories
Find more on Simulink Functions in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!