storing time stamp in a csv file

1 Ansicht (letzte 30 Tage)
Muhammad Haziq
Muhammad Haziq am 1 Mär. 2019
Kommentiert: Muhammad Haziq am 1 Mär. 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 Kommentare
Walter Roberson
Walter Roberson am 1 Mär. 2019
Bearbeitet: Walter Roberson am 1 Mär. 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 am 1 Mär. 2019
Yes as soon button 1 is pressed time stamps will be written in file no other thing is written.

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu MATLAB Support Package for Arduino Hardware finden Sie in Help Center und File Exchange

Produkte


Version

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by