How can I change the resolution of ''Arduino 2'' from 10 to 12 bit using Matlab?
조회 수: 6 (최근 30일)
이전 댓글 표시
In Arduino IDE I use the following command: analogReadResolution(12). Does an equivalent one exist on Matlab?
댓글 수: 0
채택된 답변
Madhu Govindarajan
2018년 8월 29일
As of now there is no equivalent from MATLAB support package for Arduino. Here is what I found out for Simulink https://www.mathworks.com/matlabcentral/answers/159964-arduino-due-and-simulink-voltage-resolution
댓글 수: 4
Madhu Govindarajan
2018년 8월 30일
Yes that is correct. When you work with the MATLAB Support package for Arduino, it downloads a new sketch that overwrites the current sketch on Arduino. You could try other workarounds like serial communication with MATLAB and Arduino having its own sketch, but they are all just workarounds.
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Arduino Hardware에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!