xlswrite - legacy

バージョン (4.71 KB) 作成者: Michelle Hirsch
Easily create a Microsoft Excel format spreadsheet from MATLAB®.

ダウンロード 34.7K 件

更新 2019/12/4

GitHub から

GitHub でライセンスを表示

NOTE: I built this a million years ago, before it was provided with MATLAB. I recommend you use xlswrite, or even better writetable, that have been in MATLAB for many years now.

Creates a Microsoft Excel format spreadsheet using the MATLAB ActiveX interface. This can also open the spreadsheet directly without ever saving to a file.

Nothing too fancy:
- Supports arbitrary number of header lines
- Supports column headers
- Writes a single matrix
- Can write to specific sheets (thanks Fahad!)

m = rand(100,4);
header = 'This is some introductory information at the top of my spreadsheet.';
colnames = {'Ch1','Ch2','Ch3','Ch4'};
filename = 'myfile.xls';

Will create a spreadsheet named myfile.xls


Michelle Hirsch (2022). xlswrite - legacy (https://github.com/michellehirsch/xlswrite--Legacy), GitHub. 取得済み .

MATLAB リリースの互換性
作成: R2019b
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
この GitHub アドオンでの問題を表示または報告するには、GitHub リポジトリにアクセスしてください。
この GitHub アドオンでの問題を表示または報告するには、GitHub リポジトリにアクセスしてください。