rt_logging.c : fatal error C1083: Cannot open include file: 'stdlib.h': No such file or directory

조회 수: 10 (최근 30일)
Hello all,
I use CANOE API in Simulink and build my model with system target file cn.tlc. But it always occurs include file errors during building progress. For example, following error occurs:
D:\MATLAB\rls2017b\rtw\c\src\rt_logging.c(21): fatal error C1083: Cannot open include file: 'stdlib.h': No such file or directory
But if I change the include file path with absolute path, the problem is solved. But another error is created, because other include file is included in code, for example #include <string.h>.
It seems that the link between compiler and head file is invalid. How can I fix this, thanks a lot!
PS: Matlab version is 2017b and compiler is Visual Studio 2017 professional.

답변 (1개)

Stefanie Schwarz
Stefanie Schwarz 2025년 6월 17일

카테고리

Help CenterFile Exchange에서 MATLAB Compiler에 대해 자세히 알아보기

제품


릴리스

R2017b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by