how to write excel spreadsheet from table?- Error using writetable (line 116) Could not start Excel server for export. Export to a text file instead.

2 ビュー (過去 30 日間)
I get this error:
(Error using writetable (line 116) Could not start Excel server for export. Export to a text file instead.)
when trying to export table to excel... please help !!
i have the table in my workspace, and then typed:
writetable(w1,'sample2.xls') %where table name = w1
do i need to add more information?

回答 (1 件)

Kirby Fears
Kirby Fears 2015 年 9 月 23 日
編集済み: Kirby Fears 2015 年 9 月 23 日
Information you might want to include:
  1. What version of Matlab are you running? (e.g. 2015b)
  2. Do you have Excel installed on your computer? This is necessary for writing to Excel formatted files.
  3. Are you using Windows, Mac, or Linux?
In any case, you could do as the error suggested and save to another file type.
writetable(w1,'sample2.csv')

カテゴリ

Help Center および File ExchangeSpreadsheets についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by