save data in an existing xls file but in new sheet

4 ビュー (過去 30 日間)
HD
HD 2016 年 5 月 2 日
コメント済み: HD 2016 年 5 月 4 日
HI,
I would like to save (xlswrite) data in a excel file. If the files already exist, I would like to force saving the data in a new sheet that I don't really now its number.
Is this possible with matlab?
Thanks in advance!

採用された回答

Jan
Jan 2016 年 5 月 2 日
Use xlsinfo :
[status, sheets] = xlsinfo(filename);
newSheetNumber = numel(sheets) + 1;
  1 件のコメント
HD
HD 2016 年 5 月 4 日
thank you, it works well !

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

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