These are the files for simulating a wireless data network in Simulink®

Matlab/Simulink files
Simulink model
s-function for interface between Matlab and Simulink
Matlab m-file to plot nodes and users