Collect and plot data from a TCPIP server in real time

Obtain real time data from a TCPIP object using Instrument Control Toolbox and visualize it live.

現在この提出コンテンツをフォロー中です。

This example demonstrates how to automatically read a set number of data bytes as and when they are available. This MATLAB® script also generates a real time plot of streaming data collected from the TCPIP server.
The script may be updated to use any instrument/device/TCPIP server to collect real time data. You may need to update the IP address and port.

To generate a report of this entire script, you may use the PUBLISH command at the MATLAB® command line as follows:

publish(real_time_data_plot);

引用

Ankit Desai (2026). Collect and plot data from a TCPIP server in real time (https://jp.mathworks.com/matlabcentral/fileexchange/27290-collect-and-plot-data-from-a-tcpip-server-in-real-time), MATLAB Central File Exchange. に取得済み.

カテゴリ

Help Center および MATLAB AnswersInstrument Control Toolbox についてさらに検索

一般的な情報

MATLAB リリースの互換性

  • すべてのリリースと互換性あり

プラットフォームの互換性

  • Windows
  • macOS
  • Linux
バージョン 公開済み リリース ノート Action
1.0.0.1

Updated license

1.0.0.0