Error using xlswrite on matlab2011b server

5 visualizaciones (últimos 30 días)
santosh v
santosh v el 4 de Sept. de 2016
Respondida: Walter Roberson el 4 de Sept. de 2016
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

Respuestas (1)

Walter Roberson
Walter Roberson el 4 de Sept. de 2016
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.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by