storing time stamp in a csv file
Mostrar comentarios más antiguos
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 comentarios
Walter Roberson
el 1 de Mzo. de 2019
what format do you want to store the times in? Posix time?
Muhammad Haziq
el 1 de Mzo. de 2019
Walter Roberson
el 1 de Mzo. de 2019
Okay, and are you being sent the time data, or are you extracting it from the host MATLAB session? What format is the time data in?
I am not clear on the two buttons. It sounds as if when button 1 is pressed, the timestamp is to be written to one particular csv file, and that when button 2 is pressed, a copy of the first file is to be taken??
Muhammad Haziq
el 1 de Mzo. de 2019
Walter Roberson
el 1 de Mzo. de 2019
Editada: Walter Roberson
el 1 de Mzo. de 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
el 1 de Mzo. de 2019
Respuestas (0)
Categorías
Más información sobre MATLAB Support Package for Arduino Hardware en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!