storing time stamp in a csv file

1 view (last 30 days)
Muhammad Haziq
Muhammad Haziq on 1 Mar 2019
Commented: Muhammad Haziq on 1 Mar 2019
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 Comments
Walter Roberson
Walter Roberson on 1 Mar 2019
Edited: Walter Roberson on 1 Mar 2019
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 on 1 Mar 2019
Yes as soon button 1 is pressed time stamps will be written in file no other thing is written.

Sign in to comment.

Answers (0)

Categories

Find more on MATLAB Support Package for Arduino Hardware in Help Center and File Exchange

Products


Release

R2018a

Community Treasure Hunt

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

Start Hunting!