Azzera filtri
Azzera filtri

MATLAB not reading a specific input from excel file

2 visualizzazioni (ultimi 30 giorni)
Muhammad
Muhammad il 28 Nov 2018
Risposto: KSSV il 28 Nov 2018
Hi,
I am reading some data from the excel file. The first column specified in the excel file is date-time format as follows
01/01/2012 00:00
01/01/2012 00:15
When I read the data using xlsread command, I got the following data in MATLAB
'01/01/2012'
'01/01/2012 00:15:00'
Why MATLAB is not reading the time instant 00:00. I have checked it over few days, and everytime, when MATLAB encounters 00:00, it does not report/show in its output. Any possible way to solve this thing?

Risposte (1)

KSSV
KSSV il 28 Nov 2018
Use readtable.

Categorie

Scopri di più su Data Import from MATLAB in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by