image thumbnail

wr_colwithheader

version 1.1.0.0 (1.25 KB) by Jose Caballero
Simple file to output structure fields to an .xls, including field names as headers.

279 Downloads

Updated 04 May 2015

View License

% Company : JCP
%
% File Name : wr_colwithheader.m
%
% Version : 1.0
%
% Author : JCP
%
% Function : Writes all fields of a datastructure in an .xls in colums.
% Includes the fieldnames. Uses the same format for all
%
% Variables:
%
% Input: - filename : Full filename, including extension and path.
% - struct_in : Generic data structure
% - col_ofs : Column where you want to write the first field
% - row_ofs : row where you want to write the headers
% of all fields.
%
% - Sheet : Excel sheet in the workbook.

Cite As

Jose Caballero (2021). wr_colwithheader (https://www.mathworks.com/matlabcentral/fileexchange/50728-wr_colwithheader), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2008a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Tags Add Tags
Acknowledgements

Inspired by: xlswrite1

Community Treasure Hunt

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

Start Hunting!