help with problem using xlswrite
Infos
Cette question est clôturée. Rouvrir pour modifier ou répondre.
Afficher commentaires plus anciens
Hi, I am trying to export an array in the format below to an excel document. The 4th to 7th columns are exported correctly but the 1st to 3rd produce blank columns. Can anyone help with this please?
Ta
'Turbidity' '2011-09-13 01:00:00' '2011-09-13 01:00:00' 'Event' 'Moderate' 'Spike Filtering' 'Perks'
'Turbidity' '2012-01-25 23:00:00' '2012-01-25 23:00:00' 'Event' 'Moderate' 'Spike Filtering' 'Perks'
'Turbidity' '2012-01-26 00:00:00' '2012-01-26 00:00:00' 'Event' 'Moderate' 'Spike Filtering' 'Perks'
Réponses (1)
Azzi Abdelmalek
le 23 Fév 2013
Your data should be like
Ta={'Turbidity' '2011-09-13 01:00:00' '2011-09-13 01:00:00'
'Turbidity' '2012-01-25 23:00:00' '2012-01-25 23:00:00'
'Turbidity' '2012-01-26 00:00:00' '2012-01-26 00:00:00'}
xlswrite('filename.xls',Ta)
Cette question est clôturée.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!