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