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'
댓글 수: 0
답변 (1개)
Azzi Abdelmalek
2013년 2월 23일
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)
댓글 수: 0
이 질문은 마감되었습니다.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!