필터 지우기
필터 지우기

Cannot get analog reading from Arduino Uno with S-function-builder

조회 수: 1 (최근 30일)
Soo Chong
Soo Chong 2017년 4월 22일
댓글: Soo Chong 2017년 4월 25일
I want to get real-time data by using S-function-builder from the analog read Arduino Uno for a potentiometer. Even I have given a collect code and no error but still cannot get any output (output=0). The link below is the tutorial I follow: http://eestuffs.com/2017/03/21/reading-analog-signal-arduino-due-simulink-part-1-tutorial/ However, for using S-function-Builder to giving pulse to digitalWrite on Arduino Uno is work. May I know why I cannot get reading and how to solve this problem.
  댓글 수: 1
Soo Chong
Soo Chong 2017년 4월 25일
I check the Static Code Metrics Report it show: Error Report Static code metrics report was not successfully generated because of the following errors. C:\MATLAB\SupportPackages\R2016a\toolbox\target\supportpackages\arduinotarget\scheduler\include\arduinoAVRScheduler.h cannot open source file "Arduino.h"
How can I solve this problem?

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Arduino Hardware에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by