www.gusucode.com > examples 工具箱 matlab源码程序 > examples/html/sedemo_preload_queue.m

    %% Preloading Queues with Entities

% Copyright 2008-2012 The MathWorks, Inc.

%% Overview
% This example shows how to load a queue with entities at the beginning of the
% simulation.

modelname = 'sedemo_preload_queue';
open_system(modelname);
sim(modelname);

%% 
%cleanup
bdclose(modelname);
clear modelname;
displayEndOfDemoMessage(mfilename)