Write structure array into Excel sheet

版本 1.0 (6.7 KB) 作者: Wei-Rong Chen
Write a structure array into Excel sheet
489.0 次下载
更新时间 2015/4/11

查看许可证

% usage: xlscell=WriteXlsFromStruct(DataStruct, outXlsName, sheet, ifOvewriteExist);
% This function writes a 1x1 structure array into Excel file.
% Each field in the input structure containes the data of a column in the output Excel sheet.
% See the sample 'xlsStruct.mat' for the format of the input structure array.
% The data struct conforms to the output struct generated by 'xls2struct.m'.
% 'ifOvewriteExist': Whether or not overwrite existing output Excel file.
% See also 'xls2struct.m'

引用格式

Wei-Rong Chen (2026). Write structure array into Excel sheet (https://ww2.mathworks.cn/matlabcentral/fileexchange/50465-write-structure-array-into-excel-sheet), MATLAB Central File Exchange. 检索时间: .

MATLAB 版本兼容性
创建方式 R2008a
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Spreadsheets 的更多信息
标签 添加标签
版本 已发布 发行说明
1.0