function varargout = mcstas(varargin)
% mcstas: WARNING: this function is now deprecated. Use "mccode" instead.
%
% Version: Nov. 27, 2018
% (c) E.Farhi, ILL. License: EUPL.
% See also: mccode, fminsearch, fminpso, optimset, http://www.mcstas.org

% inline: mcstas_criteria
  
  error([ mfilename ': WARNING: this function is now deprecated. Use "mccode" instead.' ]);
 
