read teensy data into matlab

2 ビュー (過去 30 日間)
Ejay Nsugbe
Ejay Nsugbe 2019 年 2 月 25 日
回答済み: DISHENG XU 2019 年 9 月 26 日
Hi,
I am trying to create a way of reading a teensy3.6 output data into matlab in CSV format/any Matlab readable format.
Any help would be appreciated.

回答 (2 件)

Image Analyst
Image Analyst 2019 年 2 月 25 日
編集済み: Image Analyst 2019 年 2 月 25 日
So the teensy file is in CSV format? Have you tried csvread()?
If that doesn't work, try importdata(), dlmread(), textscan(), or as a last resort, write your own custom reader.
  2 件のコメント
Ejay Nsugbe
Ejay Nsugbe 2019 年 2 月 25 日
The teensy file is from my 'COM5' so presumably serial data. My question is based around how I can read this data continously and save as possibly a CSV file.
Image Analyst
Image Analyst 2019 年 2 月 25 日
What format is the data in? How far have you gotten? Can you read it into MATLAB yet? If you can read it in, you can save it to a CSV text file from MATLAB with the function csvwrite().

サインインしてコメントする。


DISHENG XU
DISHENG XU 2019 年 9 月 26 日
Have you solved it? I have the same problem.

カテゴリ

Help Center および File ExchangeMATLAB Support Package for Arduino Hardware についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by