%% Specify Numbers as Keys
% Create a Map object with identification numbers as keys and employee names as values.

ids = [437 1089 2362];
names = {'Lee, N.','Jones, R.','Sanchez, C.'};
M = containers.Map(ids,names)

%
% Retrieve a name using an identification number as a key.

M(437)

% Copyright 2012 The MathWorks, Inc.