table2word

版本 1.0.0.0 (3.1 KB) 作者: Fahad Al Mahmood
Creating table in Microsoft Word Document using titles and a matrix.
9.3K 次下载
更新时间 2004/7/21

查看许可证

table2word(titles,m)
table2word(titles,m,table_title)
table2word(titles,m,style)
table2word(titles,m,style,table_title)
table2word(titles,m,filename)
table2word(titles,m,filename,table_title)
table2word(titles,m,style,filename)
table2word(titles,m,style,filename,table_title)

table2word : creates a table in Microsoft Word using titles and a matrix. Specifying file name and tabel style is optional.

titles: Column titles (cell array).
m: matrix of numbers.
filename: Name of excel file.
style: Table Style (from a list listed in file help).
table_title: Title of Table to be displayed on top of table.

Examples:

titles = {'1st','2nd','3rd','4th','5th','6th','7th','8th','9th','10th'};
m = magic(10);
table2word(titles,m);
table2word(titles,m,'Table Professional');
table2word(titles,m,'table.doc');
table2word(titles,m,'Table List 1','table.doc');
table2word(titles,m,'Table List 1','table.doc','My Table Title');

See also MSOPEN

引用格式

Fahad Al Mahmood (2024). table2word (https://www.mathworks.com/matlabcentral/fileexchange/4643-table2word), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R13
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Dimensionality Reduction and Feature Extraction 的更多信息
致谢

参考作品: xlswrite - legacy

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.0.0.0

Replaced Structured Arrays COM commands with (invoke) & (set) commands.