MATLAB: How to export data from matlab to excel as a column excel export column 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 Best Answer columnVector = yourCurrentRowVector';xlswrite(excelFileName, columnVector); Related SolutionsMATLAB: How to read from a text file theMean = (columnVector(1)+columnVector(2)+columnVector(12)+columnVector(22)+columnVector(23))/5;It's pretty basic - am I missing something? MATLAB: Writing multiples values of different data types in excel Yes. You'd have to make up a cell array with all those things in the proper row,column location of the cell array, and then write it once. For example:ca{1, 3} = 'Classes';ca{1, 4} = 'W';% etc.xlswrite(excelfileName, ca, 'Results', 'A1'); Related QuestionImporting from Excel dropping first columnWritting strings to ExcelDelete excel rows whose first column is 0
Best Answer