View License

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video

Highlights from
Vehicle Traffic Patterns at an Intersection (SimEvents)

4.3 | 3 ratings Rate this file 17 Downloads (last 30 days) File Size: 68.7 KB File ID: #20287 Version:
image thumbnail

Vehicle Traffic Patterns at an Intersection (SimEvents)


Devdatt Lad (view profile)


13 Jun 2008 (Updated )

Study vehicle traffic patterns at a street intersections to figure out best approach using SimEvents

| Watch this File

File Information

There are two models in this submission.
1. trafficpatterns - a simple model of vehicular traffic on four roads all leading to an intersection controlled by a traffic light. It turns green for each of the four paths with specified durations. Tweak the traffic light durations to study how much traffic builds up on the different paths.

2. trafficpatterns_rotary - The same intersection traffic light has now been replaced by a rotary (traffic circle). The four roads now merge onto the rotary and don't have to wait for the traffic light. There are constraints on the rotary that specify how much time it takes to cross it. Compare the results to the previous model.

Required Products DSP System Toolbox
MATLAB release MATLAB 7.4 (R2007a)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (11)
28 Apr 2016 Jiaxuan Yang

10 Feb 2016 Ashish Tajne

vehicle detection code in image processing Matlab

Comment only
22 Dec 2014 ihab

ihab (view profile)

what is mean time between arrival of two cars ??
and why 20 sec for west and 2 sec for east ??

Comment only
30 May 2014 Rasika Sampath

How we develop this for a fuzzy-traffic controller.

Comment only
11 Jun 2012 George

George (view profile)


Comment only
06 May 2012 benny

benny (view profile)

I wonder how to modify the intersection so that I can detect which car has turned to which road (I want to use Vehicle Detection Zone on each of the 4 roads meeting at the intersection). Please help

Comment only
07 Apr 2012 zhou jianshan

Thank you for your sharing!

27 Apr 2010 Matt Jardin

Nice demo. One minor note -- the scopes for Temple St. South and Temple St. North are reversed in the rotary model.

Comment only
06 Mar 2009 Su Yeek

The MatlabR2007a can run this program?

Comment only
19 Oct 2008 PACE BIBI


Comment only
13 Jul 2008 D Ling

It seems that the Matlab program SimE is very useful. Unfortunately, my Matlab version
is 7.1. I wonder if the author can let the program be run in version 7.1.

19 May 2009 1.4

Added the traffic signal JPEG so that the downloaded model displays the mask image correctly.

06 Aug 2012 1.6

Added missing mask icon image.

01 Sep 2016

Updated license

Contact us