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 CenterFile Exchange에서 Modeling에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by