필터 지우기
필터 지우기

Is there any other matlab function equivalent to xlswrite that work on macbook ?

조회 수: 9 (최근 30일)
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

채택된 답변

Pariterre
Pariterre 2018년 6월 27일
편집: Walter Roberson 2018년 6월 27일
Hi Meryem,
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
Meryem Rhouzlane
Meryem Rhouzlane 2018년 6월 27일
Thank you for your quick reply. The thing is i'm not familiar with java so i just copy paste the code files in a file. Is there any other step to load the POI library ? thanks.
Pariterre
Pariterre 2018년 6월 27일

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?

댓글을 달려면 로그인하십시오.

추가 답변 (1개)

Walter Roberson
Walter Roberson 2018년 6월 27일
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.

카테고리

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