A simple but complete mobile wireless network simulator in Matlab
Update (03/30/2012): Cannot believe it has been six years and we have got over 20,000 downloads since then. Sorry to all the folks who have contacted me for not responding promptly....I did not expect to get this many messages and I did not check this account very often. So many things have happened to me too: I graduated with a PhD, worked with a startup and then R&D centers in another two companies. Sometimes I use ns-2/3 for my job, but this little piece of software is always near and dear to my heart. It does need some updates both on some bugs and for more features. But I am just too busy with the job and a new Blog I just created. I may put some of my thoughts and explanations of this software in my Blog.
Download it to a new directory, run sim1.m or sim2.m in Matlab, modify them and action.m for your particular use. Run and modify process_sim1.m to process log file generated by the simulation.