wr_colwithheader

Simple file to output structure fields to an .xls, including field names as headers.

You are now following this Submission

% 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

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.1.0.0

Name was too long:)

1.0.0.0