File Exchange

image thumbnail

Example of how to save or read data to an Excel archive.

version (3.3 KB) by Héctor Corte
This function writes data inside an Excel archive. Is an example of usage of commands.


Updated 17 Jan 2012

View License

% First we create some data.


% Now we have a cell with two rows, one % for t and another for x.
% We also have an Escel archive called % "myexcel.xls"
% We want to put those rows into the
% excel archive, in rows A and B.
% With headers "t" and "x(t)".

workwith_excel([path,name],'Hoja1',[{'t'},{'x(t)'}],[1,1;1,2]); workwith_excel([path,name],'Hoja1',data,[2,1;11,2]);

Comments and Ratings (0)

MATLAB Release Compatibility
Created with R2010a
Compatible with any release
Platform Compatibility
Windows macOS Linux