%% Read All Data in KeyValueDatastore
% Create a datastore from the sample file, mapredout.mat, which is the output file of the mapreduce function.

ds = datastore('mapredout.mat');

%
% Read all the data in the datastore.

T = readall(ds);

%
% View a summary of the output table.

summary(T)

% Copyright 2015 The MathWorks, Inc.