Hi reem,
again: you asked for "matlab" code in a forum dedicated to LabVIEW - you will not find any matlab code here!
there is nothing about m/m/n simulation,please?
This forum is intended to help on specific LabVIEW problems. It's not made to provide ready-to-use software solutions, neither for LabVIEW or any other programming language!
So I repeat what Christian said: Go to a Matlab forum and ask your questions over there!