wr_colwithheader
% 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 (2026). wr_colwithheader (https://ch.mathworks.com/matlabcentral/fileexchange/50728-wr_colwithheader), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Acknowledgements
Inspired by: xlswrite1
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
