How can I create Arduino code from S-function MATLAB code ?

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

回答(0 个)

类别

帮助中心File Exchange 中查找有关 Arduino Hardware 的更多信息

提问:

2019-8-19

Community Treasure Hunt

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

Start Hunting!

Translated by