How can I log data to a CSV file using OPC Toolbox 2.1.4 (R2009b)?

1 回表示 (過去 30 日間)
MathWorks Support Team
MathWorks Support Team 2009 年 12 月 21 日
I am trying to log data to a CSV file instead of an OLF file. Is there a direct way to do so?

採用された回答

MathWorks Support Team
MathWorks Support Team 2009 年 12 月 21 日
Instead of logging to an OLF file, you could log the data to a CSV file as follows:
da = opcda('host','ServerID');
connect(da);
grp = addgroup(da);
set(grp,'LogFileName', 'LoggingFile.csv');
The CSV file can be opened in Excel directly.

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeServer Connection and Browsing についてさらに検索

タグ

製品


リリース

R2009b

Community Treasure Hunt

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

Start Hunting!

Translated by