How can I create Arduino code from S-function MATLAB code ?
Show older comments
Hi,
I made the model of a closed-loop control system in Simulink. I used S-function (written in MATLAB code) for my model. Now I'm prototyping my control system on the Arduino. I know MATLAB/Simulink has a Hardware Support Package for Arduino. I have also read about Simulink IO and the External Mode of the support package. But I don't think either of them can help. Simulink IO just accesses the peripherals of the Arduino board and runs the model in PC. And as I understood, the External mode uploads the C code on hardware. But I need to see my code in Arduino IDE to add other futures to it later.
Please share your thoughts.
Many Thanks
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!