주요 콘텐츠

직렬 장치

R2026b
Arduino® 하드웨어에 연결된 직렬 장치에서 읽기 및 쓰기

직렬 스트리밍 함수를 사용하기 전에 arduino를 사용하여 Arduino 객체를 만듭니다.

MATLAB® 및 MATLAB Online™에서 Arduino 탐색기를 사용하여 직렬 통신 인터페이스를 대화형 방식으로 구성하고, 이 인터페이스를 사용해서 Arduino 및 기타 지원되는 하드웨어에 연결된 직렬 장치의 데이터를 읽고 쓸 수 있습니다. 자세한 내용은 Connect to Serial Device Using Arduino Explorer App 항목을 참조하십시오.

설치된 MATLAB 버전에서 지원되는 하드웨어의 전체 목록을 보려면 Supported Hardware 항목을 참조하십시오. MATLAB Online에서 지원되는 보드, 워크플로, 플랫폼에 관한 자세한 내용은 Get Started with MATLAB Online for Arduino 항목을 참조하십시오.

함수

deviceConnection to serial device on Arduino or ESP32 hardware
readRead data from serial device
writeWrite data to serial device

도움말 항목

문제 해결

Serial Device Issues

Tips to fix issues for serial devices.