How to use arduino libraries in simulink
21 views (last 30 days)
I would like to use arduino functions such as "digitalWrite" or libraries such as "SoftwareSerial" in the Arduino IDE within a simulink model.
Is there a quick way to import these libraries and use the functions inside the Stateflow state machine model?
I would to create simulink model that is able to use the function present in custom or standar arduino library.
I have some project developted with Arduino IDE that are present a specifics libraries to use for display or sensors or another devices.
My version of MATLAB/Simulink is 2021a
In this new version, Simulink has a new features C Coder Importer.
Can I use this functionality?