help with problem using xlswrite
Informazioni
Questa domanda è chiusa. Riaprila per modificarla o per rispondere.
Mostra commenti meno recenti
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'
Risposte (1)
Azzi Abdelmalek
il 23 Feb 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)
Questa domanda è chiusa.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!