Failed to parse custom code specified in model configuration parameters
조회 수: 22 (최근 30일)
이전 댓글 표시
Hello, I included a header file in the Simulation Target directory in Simulink's Configuration Parameters window. When I run ctrl + d I get the following:
Failed to parse custom code specified in model configuration parameters dialog: Simulation Target -> Custom Code. Unresolved symbols are not reported. Component:Stateflow | Category:General warning The current code generation target is configured to generate C++, but the C-only compiler, LCC, is the default compiler. To specify a C++ compiler, enter 'mex -setup' at the command prompt. To generate C code, open the Configuration Parameters dialog and set the target language to C.
I work at John Deere and my Co-workers are able to use the exact same configuration and are not experiencing any build issues. I have re-installed Matlab 2017b and am still seeing the exact same issue. Any assistance would be appreciated.
Thanks
댓글 수: 0
답변 (1개)
mItk
2018년 8월 2일
I had the same issue and could solve it by running MATLAB in Admin mode and selecting the compiler with mex -setup again.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Manual Performance Optimization에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!