Using function 'save'.

조회 수: 1 (최근 30일)
ck
ck 2016년 6월 27일
답변: Adam 2016년 6월 27일
Hello , so I have a output in 'colproceed' which is a (nx1) matrix having output as below: "sct_Star"
"sct_Star1"
"sct_Star2"
"sct_Star3"
"sct_Star5"
"sct_Star4"
"sct_Star6"
------- ----- and so on.
When I try to save this file using save function as below : save('C:\Users\K chetan\Desktop\marsis_DAta\work/file.csv','colproceed');
the file saved in excel sheet has some other values which are ascii equivalents by default I guess so.How can I get the same outputs saved as in matlab results?
Thank you

채택된 답변

Adam
Adam 2016년 6월 27일
save
is used to save to a .mat file or an ascii file. If you want to save to an excel spreadsheet I would suggest to use
xlswrite
instead. Alternatively just save to a .mat file, but it depends if you want the results to be used in future in Matlab or to be read externally in the spreadsheet.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Spreadsheets에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by