%% Cell Array from Java Array  

%% 
% Convert an array of |java.lang.String| objects into a cell array. 
X = java_array('java.lang.String', 3);
X(1) = java.lang.String('one');
X(2) = java.lang.String('two');
X(3) = java.lang.String('three');
D = cell(X)   



%% 
% Copyright 2012 The MathWorks, Inc.