%% Preview 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');

%
% Preview the data in the datastore.

data = preview(ds)

% Copyright 2015 The MathWorks, Inc.