フィルターのクリア

Simulink model to Arduino code?

7 ビュー (過去 30 日間)
aly abidali
aly abidali 2017 年 3 月 15 日
回答済み: vahid usefi 2020 年 6 月 19 日
Hello everyone,
I have built a quadcopter and am trying to design a control algorithm to stabilise it in flight. I have done a simulink model of the quadcopter that uses PID control and stabilises fine. I would like to somehow convert this simulink model into arduino code so that i can fly it without it connected to my computer using an arduino board. Is this possible?
The aim is to design my own flight stabilisation algorithm for a quadcopter after simulating it on simulink and then testing it experimentally.

採用された回答

Tohru Kikawada
Tohru Kikawada 2017 年 3 月 15 日
Yes, you can generate C code for Arduino through Simulink Support Package for Arduino Hardware.
  1 件のコメント
Taimur Zaman
Taimur Zaman 2018 年 5 月 14 日
Hi, Same problem with me. I have generated a Controlled Phase Shifted PWM in arduino through code, now i want to transform same code to simulink blocks. so, is it possible, i mean if yes; how can i access from simulink arduino timers and interupts. I am new to simulink arduino interface

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

その他の回答 (1 件)

vahid usefi
vahid usefi 2020 年 6 月 19 日
woooooooooooooow

カテゴリ

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