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

4 views (last 30 days)
I am using MATLAB 2015b and I dont need #include <string.h> #include <stddef.h>. How to remove these files from code
  3 Comments
mayura
mayura on 2 Jul 2024
what settings needs to be done to remove #include <string.h> #include <stddef.h> from generated code?

Sign in to comment.

Answers (1)

Muskan
Muskan on 24 Jul 2024
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!

Categories

Find more on MATLAB Coder in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!