How to export data from matlab to excel as a column

4 views (last 30 days)
Hi,
I am able to export data to excel as a row. I'm not able to export it as a column. Could someone kindly help me.
Thanks, Santosh

Accepted Answer

Image Analyst
Image Analyst on 24 Oct 2014
columnVector = yourCurrentRowVector';
xlswrite(excelFileName, columnVector);
  3 Comments
Vighneswara Siva Santosh Kumar Kondeti
Hi,
Thanks. Its working now. I didn't correct my syntax earlier. Sorry for the inconvenience.
Thanks, Santosh
Image Analyst
Image Analyst on 24 Oct 2014
OK great. Can you mark the answer as "Accepted" then?

Sign in to comment.

More Answers (0)

Categories

Find more on Data Import from MATLAB in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!