Simulink code error in Arduino IDE

2 views (last 30 days)
Federico
Federico on 4 Apr 2023
Hi,
I´m having problems using a .c code generated in simulink in Arduino IDE. My goal is to modify the code in arduino ide and upload it to a Wemos D1 mini. What i did was adding the .c and .h files,generated in simulink. to a zip and adding this zip as a library in the IDE. The last error i had was the following:
15 | # include <dlfcn.h>
| ^~~~~~~~~
compilation terminated.
exit status 1
Compilation error: exit status 1
I would appreciate it if someone knows an easier way to do it.

Answers (0)

Categories

Find more on Arduino Hardware 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!