Error using xlswrite on matlab2011b server
조회 수: 6 (최근 30일)
이전 댓글 표시
Hi,
I was trying to run an time consuming code on a linux server. The code does run on my windows system but it takes a long time for increased iterations and hence I am tryingto use server. However the matlab version on server is 2011b and it is giving me an error:
Error using xlswrite (line 193)
An error occurred on data export in CSV format.
Error in Foldortrann (line 74)
xlswrite( excelname, Per_tran_Result ,'Per_tanin' );
Caused by:
Error using dlmwrite (line 118)
The input cell array cannot be converted to a matrix.
I tried using "xlwrite" but it didnt work as that also gave me an error. Is there some alternative of xlswrite that I could use to write the files? Please do advise as I am a newbie to matlab. Thanks a lot for your time
댓글 수: 0
답변 (1개)
Walter Roberson
2016년 9월 4일
xlwrite() (from the File Exchange) is your easiest hope on a non-Windows machine.
What I would suggest in your situation would be to save() the cells as .mat files, and then over on the Windows machines read in the .mat and xlswrite() them.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Spreadsheets에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!