function [y,ysd]=idsim(varargin)%data,th,init,inhib)
%IDSIM  Simulates a given dynamic system.
%   OBSOLETE function. Use SIM instead. See HELP IDMODEL/SIM.

 
%   L. Ljung 10-1-86, 9-9-94
%   Copyright 1986-2000 The MathWorks, Inc.
%   $Revision: 1.1 $ $Date: 2000/08/24 12:53:33 $



y=[];ysd=[];
if nargin < 4, inhib = 0;end
if nargin<3,init=[];end
if nargin<2
   disp('Usage: Y = SIM(MODEL,UE)')
   disp('       [Y,YSD] = SIM(MODEL,UEINIT)')
   return
end

if nargout <= 1;
   y = sim(varargin{:});
else 
   [y,ysd] = sim(varargin{:});
end
 