MATLAB Answers

How to upload simulink model to arduino?

조회 수: 3(최근 30일)
ray
ray 1 Aug 2014
댓글: ray 6 Aug 2014
Is there anyway to upload the simulink blocks to the arduino? Sending signal from simulink to arduino, calculated in arduino (using the uploaded simulink blocks), and send the result back to the simulink
Thank you so much

  댓글 수: 0

Sign in to comment.

채택된 답변

Sreeram
Sreeram 6 Aug 2014
Hi Ray,
Have you tried the external mode feature ? I hope this would be useful in this case !
Thanks,
Sreeram Mohan

  댓글 수: 1

ray
ray 6 Aug 2014
Hi Sheeram thank you for your answer!
yeah i tried but i can't. Is it because i'm using Arduino UNO?
anyway i want to run my model in the arduino so i tried run on target hardware. It seems to be working (the result nearly like the result from running in simulink). Now i want to run my selected subsystem on arduino (3 PID controller inside) but the result is really different from running in simulink. Do you have any idea where did i go wrong?
Thank you very much

Sign in to comment.

추가 답변(0개)


Translated by