%% Call Method from EDT
% Create a java.util.Vector object v and add a string element.

v = java.util.Vector;
javaMethodEDT('add',v,'string');

% Copyright 2012 The MathWorks, Inc.