You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
% 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://uk.mathworks.com/matlabcentral/fileexchange/50728-wr_colwithheader), MATLAB Central File Exchange. Retrieved .
Acknowledgements
Inspired by: xlswrite1
General Information
- Version 1.1.0.0 (1.25 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
