storing time stamp in a csv file

1 次查看(过去 30 天)
Hi,
I am using matlab with arduino so the senerio is I have two buttons connected with arduino so when ever I press button 1. I want to store time in a csv file. but when ever I press button two other csv file is generated again continously storing button 1 time stamps. can any body help me?
Regards,
Haziq
  6 个评论
Walter Roberson
Walter Roberson 2019-3-1
编辑:Walter Roberson 2019-3-1
Is it important that the timestamps be written to the file as soon as button 1 is pushed, or could they be accumulated in memory and not written until button 2 is pushed?
Does anything else need to get written into the file?
Muhammad Haziq
Muhammad Haziq 2019-3-1
Yes as soon button 1 is pressed time stamps will be written in file no other thing is written.

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 MATLAB Support Package for Arduino Hardware 的更多信息

标签

产品


版本

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by