I have developed an MATLAB based program for simulating OLSR protocol (called MoSim) a few days ago, and it works well. MoSim supports mobility model, core functions of OLSR protocol, attack model, and provides functions of recording detailed simulation data, result analysis, showing topology with a graphic, etc.
However,the MoSim is not complete and needs a lot of improvement, such as adopting a more efficient software architecture, provides documents, etc.
If you are interested in MoSim, contact me with without hesitate.