필터 지우기
필터 지우기

How to use generated code from Matlab simulink in arduino ?

조회 수: 1 (최근 30일)
Hocine YAKOUBI
Hocine YAKOUBI 2022년 10월 10일
답변: Prateek 2022년 10월 18일
Hi,
I am looking, how to use code generated from Simulink in Arduino ?
(I am not speaking about deploy code in arduino, but use generated code), because i will program with arduino IDE.
ANy help or solution ? thanks
  댓글 수: 1
Benjamin Thompson
Benjamin Thompson 2022년 10월 11일
Try looking over these materials and if you have specific questions about your problem then ask a new question with attachments showing your work.

댓글을 달려면 로그인하십시오.

답변 (1개)

Prateek
Prateek 2022년 10월 18일
Hello Hocine,
The Arduino IDE uses its own language, which is not directly supported by the Simulink Support Package. Hence the generated code cannot be directly deployed using Arduino IDE.
However, you can modify the generated code by yourself and then deploy it manually. The following link specifies how to do it: Compile Simulink generated code in Arduino IDE? - MATLAB Answers - MATLAB Central (mathworks.com)
Hope this helps.
Regards,
Prateek.

카테고리

Help CenterFile Exchange에서 Arduino Hardware에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by