Simulink compilation error missing string.h

5 ビュー (過去 30 日間)
Paulo DeMelo
Paulo DeMelo 2023 年 8 月 29 日
回答済み: Pratyush Swain 2023 年 9 月 24 日
I am trying to follow this guide:
But when I click monitor & tune I get the following compilation error:
gm_hdlcoder_led_blinking_interface_ert_rtw/gm_hdlcoder_led_blinking_interface.h:23:20: fatal error: string.h: No such file or directory #include <string.h> ^ compilation terminated. gmake: *** [gm_hdlcoder_led_blinking_interface.c.o] Error 1 ### Build procedure for gm_hdlcoder_led_blinking_interface aborted due to an error.

回答 (1 件)

Pratyush Swain
Pratyush Swain 2023 年 9 月 24 日
Hey Paulo,
I understand you are facing error regarding 'string.h' file.
You can specify the C header file for simulation in the Simulation Target pane of the Model Configuration Parameters dialog box.
#include <string.h>
Hope this helps.

カテゴリ

Help Center および File ExchangeArduino Hardware についてさらに検索

タグ

製品


リリース

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by