help with problem using xlswrite

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'

Respuestas (1)

Azzi Abdelmalek
Azzi Abdelmalek el 23 de Feb. de 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)

La pregunta está cerrada.

Etiquetas

Preguntada:

el 23 de Feb. de 2013

Cerrada:

el 20 de Ag. de 2021

Community Treasure Hunt

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

Start Hunting!

Translated by