How to write to an excel sheet in specified columns only.
12 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
irtiza
el 21 de Mayo de 2014
Comentada: irtiza
el 21 de Mayo de 2014
Hi I am using xlswrite(); to write my variable into excel sheet it works perfect but it writes my variable in the first row where as iw ant to write it in my first column and then i have another variable i want to write it in second column. Say for example my first variab is x-axisCordinates i do this xlswrite('testdata',x-axisCordinates) it write all the data in first row where as i wanted it in to be in the first column. Secondly after writing this i have another variable call y-axisCordinates i want to write it in the second column now. Thanks anyways Regards
0 comentarios
Respuesta aceptada
Yao Li
el 21 de Mayo de 2014
1. xlswrite('testdata',x-axisCordinates') ,"'" to convert to a nx1 array
2. You can specify the range ('C1:C5')
xlswrite(filename,A,range)
Más respuestas (0)
Ver también
Categorías
Más información sobre Spreadsheets en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!