ArduinoUno Digital and Analog Inputs Simulink

1 回表示 (過去 30 日間)
Stas Diadechko
Stas Diadechko 2014 年 1 月 21 日
回答済み: Rolfe Dlugy-Hegwer 2014 年 3 月 28 日
I have a problem(does not work analog and digital inputs in model of Simulink(Arduino Uno)...constantly shows "0" on Scope( What can I do ??
  1 件のコメント
Kaustubha Govind
Kaustubha Govind 2014 年 3 月 27 日
Which Arduino package are you using? There are several out there. Did you download a package, or are you using the functionality built into Simulink?

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

回答 (1 件)

Rolfe Dlugy-Hegwer
Rolfe Dlugy-Hegwer 2014 年 3 月 28 日
Click the the "Deploy to hardware" button as described in the Run Model on Arduino Hardware topic.
One common error is to click the "Run" button (green triangle), which simulates the model on your host computer. The sensors output zeros because they do not exist on the host computer.

カテゴリ

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

製品

Community Treasure Hunt

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

Start Hunting!

Translated by