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

    %% Preview 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');
%% 
% Preview the data in the datastore.
data = preview(ds)