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

13 ビュー (過去 30 日間)
SHUZHOU MAO
SHUZHOU MAO 2021 年 10 月 21 日
回答済み: Stefanie Schwarz 2025 年 6 月 17 日
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 Center および File ExchangeMATLAB Compiler についてさらに検索

製品


リリース

R2017b

Community Treasure Hunt

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

Start Hunting!

Translated by