You are on page 1of 3

1. Aim: Write a program to implement Simulation of Comparing Queuing Strategies.

2. Simulink for experiment:


openExample('simevents/ QueuingStrategiesExample ')

3. Code for experiment:


modelname = 'seQueuingStrategies';
open_system(modelname);
scopes = find_system(modelname, 'LookUnderMasks', 'on', 'BlockType',
. 'cope');
cellfun(@(x)close_system(x),scopes);
sim(modelname);
open_system([modelname '/Four Line Queue']);
open_system([modelname '/Serpentine Queue']);
cellfun(@(x)open_system(x), scopes);
bdclose all;
clear modelname

4. Result/Output:
5. Learning outcomes (What I have
learnt):

A. Every time you start MATLAB®, the


generator resets itself to the same state.

B. How Simulation of Comparing


Queuing Strategies works.

C. For Standard Normal Deviation mean is


zero and variance is 1.

D. The Uniformly distributed pseudorandom


integers generally give integer values.

E. Visualization of Simulation of Comparing


Queuing Strategies.
Evaluation Grid:

Sr. No. Parameters Marks Obtained Maximum Marks


1. Demonstration and Performance 5
(Pre Lab Quiz)
2. Worksheet 10
3. Post Lab Quiz 5

You might also like