MATLAB: Traffic modelling

fuzzymodelingoptimizationpsosimulink

i want to do a traffic modelling on simple cross junction in simulink. the queue length and flow rate of vehicles from the junction will feed into the fuzzy logic toolbox to output necessary greentime for each phase of the junction. the membership functions of flc will be tuning by pso toolbox i have downloaded from 3rd party so that the flc will output the better green time at any phase to solve the congestion problem…
my questions are:
1. issit possible to do the traffic modelling from simulink and how?
2. how to make the membership function of the flc auto adjusted by pso while the traffic model is running from time to time?
i'll be really appreciate help and idea from anyone from here..

Best Answer