MATLAB Answers


arduino code generation for using with arduino IDE

Asked by mahmoud
on 4 Jul 2014
Latest activity Commented on by Rajalakshmi Menasinakai on 2 Oct 2018
when using "Deploy to Hardware" i can not use any other arduino libraries not supported in simulink ......... how can i generate a C code for arduino target to integrate it with arduino IDE to use it with other function or for integrating it with an RTOS ??

  1 Comment

@ mahmoud, could you integrate the generated c code with arduino IDE? If yes, please do let me know how you have done it.

Sign in to comment.

1 Answer

Answer by Sreeram
on 22 Jul 2014

Hi mahmoud,
There is a documented version of how to incorporate external libraries as well as create a custom blocks provided at
Please refer to the same to create one.
Hope this helps, Sreeram Mohan


Sign in to comment.