function preferences(varargin)
%PREFERENCES Bring up MATLAB user settable preferences dialog.

%   $Revision: 1.6 $ 
%   Copyright 1984-2000 The MathWorks, Inc.
if (nargin == 1)
	javaMethod('showPrefsDialog', 'com.mathworks.ide.prefs.PrefsDialog', varargin{1})
else
	javaMethod('showPrefsDialog', 'com.mathworks.ide.prefs.PrefsDialog')
end
