フィルターのクリア

How to upload simulink model to arduino?

2 ビュー (過去 30 日間)
ray
ray 2014 年 8 月 1 日
コメント済み: ray 2014 年 8 月 6 日
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

採用された回答

Sreeram
Sreeram 2014 年 8 月 6 日
Hi Ray,
Have you tried the external mode feature ? I hope this would be useful in this case !
Thanks,
Sreeram Mohan
  1 件のコメント
ray
ray 2014 年 8 月 6 日
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

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeArduino Hardware についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by