Calculate difference between two times when I export text file to excel

1 visualización (últimos 30 días)
Hi, I am working on a time stamp program in matlab and I want to calculate the difference in times that I have registered with my program once I open the file in excel. Every time I try to subtract both times I get a #value! error in excel. Any help will be really appreciated.
Thank you
  2 comentarios
Walter Roberson
Walter Roberson el 7 de En. de 2016
How are you writing the time stamps to excel? Are you writing them as strings, or as MATLAB datenum, or as MATLAB datetime objects, or are you converting datenum or datetime objects to excel numeric dates, or are you using writetable() of a table that contains datetime objects?
Adithya Addanki
Adithya Addanki el 12 de En. de 2016
Hi Nicolas,
As Walter mentioned, please verify the data type of the variables.
If it does not resolve the issue, please send us the workflow you follow and a sample code to help us reproduce the issue.
Thank you,
Adithya

Iniciar sesión para comentar.

Respuestas (0)

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by