write a column into excel sheet

I used a while loop and done some calculations. Now I want to write thease results into an excel sheet as a column.But, when I using xlswrite() function only first value is write into excel file.This is my code
xlswrite('uav2.xlsx',sd(:))
Its urgent.Please help

2 件のコメント

prasanth s
prasanth s 2019 年 10 月 13 日
  1. check whether 'sd' has array of values.
  2. xlswrite fuction should be in ouside the loop, so the values not rewritten
Sajitha K.N.
Sajitha K.N. 2019 年 10 月 13 日
Thank you, sir.

回答 (0 件)

この質問は閉じられています。

質問済み:

2019 年 10 月 13 日

閉鎖済み:

2021 年 8 月 20 日

Community Treasure Hunt

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

Start Hunting!

Translated by