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

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

3 Comments

Hello mayura,
please provide more details about your question whcih will help the community understand your issue better
you might find this similar MATLAB answer post helpful
what settings needs to be done to remove #include <string.h> #include <stddef.h> from generated code?

Sign in to comment.

Answers (1)

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 Simulink Coder in Help Center and File Exchange

Asked:

on 2 Jul 2024

Answered:

on 24 Jul 2024

Community Treasure Hunt

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

Start Hunting!