I am using MATLAB 2015b and I dont need #include <string.h> #include <stddef.h>. How to remove these files from code

5 ビュー (過去 30 日間)
mayura
mayura 2024 年 7 月 2 日
回答済み: Muskan 2024 年 7 月 24 日
I am using MATLAB 2015b and I dont need #include <string.h> #include <stddef.h>. How to remove these files from code
  3 件のコメント
mayura
mayura 2024 年 7 月 2 日
what settings needs to be done to remove #include <string.h> #include <stddef.h> from generated code?
Rik
Rik 2024 年 7 月 2 日
Why exactly do you need them removed?

サインインしてコメントする。

回答 (1 件)

Muskan
Muskan 2024 年 7 月 24 日
Hi,
If you are using Embedded Coder and want to remove the standard libraries #include <stddef.h> and #include <string.h>, you can follow the following MATLAB Answer that illustrates different ways on how you can change the Model Configurations properties in order to remove these libraries: https://www.mathworks.com/matlabcentral/answers/158984-why-embedded-coder-generates-include-to-standard-c-library-stddef-h-and-string-h-how-to-remov
I hope this helps!

カテゴリ

Help Center および File ExchangeMATLAB Coder についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by