www.gusucode.com > matlab 案例源码 matlab代码程序 > matlab/ReadAllDataInKeyValueDatastoreExample.m

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

% Copyright 2015 The MathWorks, Inc.

ds = datastore('mapredout.mat');
%%
% Read all the data in the datastore.
T = readall(ds);
%%
% View a summary of the output table.
summary(T)