%% Load ASCII File
% Create an ASCII file from several 4-column matrices, and load the data back into a double-precision array.

a = magic(4);
b = ones(2, 4) * -5.7;
c = [8 6 4 2];
save -ascii mydata.dat a b c
clear a b c

load mydata.dat -ascii

% load creates an array of type double named mydata.
%
% View information about mydata.

whos mydata

% Copyright 2012 The MathWorks, Inc.