function varargout = evalModel(this, model)
% EVALMODEL Get sizes data from the model.

% Author(s): Bora Eryilmaz
% Revised: 
% Copyright 2000-2004 The MathWorks, Inc.
% $Revision: 1.1.6.1 $ $Date: 2004/11/18 23:44:31 $

% Turn Accelarator mode off (if set) before compiling
newconfig = struct('SimulationMode', 'normal');
oldconfig = this.setupConfigSet(model, newconfig);

% State vector names from sizes call
[ varargout{1:nargout} ] = feval(model, [], [], [], 'sizes');

% Restore SimulationMode mode
this.setupConfigSet(model, oldconfig);
