Is there any other matlab function equivalent to xlswrite that work on macbook ?
9 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Meryem Rhouzlane
am 27 Jun. 2018
Beantwortet: Walter Roberson
am 27 Jun. 2018
Hi everybody, Is there any other matlab function equivalent to xlswrite that work on macbook ? I heard about the "xlwrite" function, i did download the java thing but I don't know how to use it.
I get this error : Warning: Could not start Excel server for export. XLSWRITE will attempt to write file in CSV format
Thank you,
Meryem
0 Kommentare
Akzeptierte Antwort
Pariterre
am 27 Jun. 2018
Bearbeitet: Walter Roberson
am 27 Jun. 2018
Hi Meryem,
As you tried, https://www.mathworks.com/matlabcentral/fileexchange/38591-xlwrite--generate-xls-x--files-without-excel-on-mac-linux-win, did work for me on Linux, but I never tried on Mac.
The error you reported (The POI library is not loaded in Matlab.) may just be due to the fact that you did not include the Apache POI function in you path (addpath('path_to_poi_functions')) which are provided with the function!
2 Kommentare
Pariterre
am 27 Jun. 2018
there should be.. as soon as you use the command
addpath('path_to_poi_files')
matlab should be able to load them. Could you provide us with a minimalistic version of the code you use?
Weitere Antworten (1)
Walter Roberson
am 27 Jun. 2018
We recommend using writetable(), which can work with csv, xls, and xlsx files. You might need to use array2table() to convert your data to table object.
0 Kommentare
Siehe auch
Kategorien
Mehr zu Spreadsheets finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!