serialDataStream

serialDataStream shows you how to capture continuous data streams from USB devices and serial ports.

이 제출물을 팔로우합니다

SERIALDATASTREAM is a design pattern for a function to receive and process a continuous stream of data from a device connected to a USB or serial port. This function does not execute as written; it includes explanations and examples for all of the steps required to capture data which is transmitted continuously over a USB or serial interface which use a "virtual COM port". It uses some advanced features of the MATLAB serial port functions and has been successfully used for capturing data at rates up to 1.5 MB/sec. Examples for Windows, Mac OS X, and Linux are included. The MATLAB Instrument Control Toolbox is not required.
This code does not execute as it is written; it is a design pattern with explanations and examples in the comments. You can read it and modify it for your needs.
This is code is intended for advanced users who need to capture a high-speed, continuous data stream from a USB/serial port. You must have detailed information about the configuration and operation of your serial device. If you do not need high-speed continuous data capture, then you should start with other code which is easier to understand and use.

인용 양식

M. A. Hopcroft (2026). serialDataStream (https://kr.mathworks.com/matlabcentral/fileexchange/31958-serialdatastream), MATLAB Central File Exchange. 검색 날짜: .

카테고리

Help CenterMATLAB Answers에서 Instrument Control Toolbox에 대해 자세히 알아보기

일반 정보

MATLAB 릴리스 호환 정보

  • 모든 릴리스와 호환

플랫폼 호환성

  • Windows
  • macOS
  • Linux
버전 퍼블리시됨 릴리스 정보 Action
2.0.0.0

Updated to use the new serialport() object.

1.1.0.0

v1.1: update description

1.0.0.0