Hi Youssef,
I totally agree with Kostantinos. This could be a totally cool feature, especially considering that Matlab has some great optimization functions.
From my personal experience, using Matlab could lead to unforeseen troubles when you will need to write an equivalent code not relying on Matlab (e.g., when you want to get a nice research thing and make a commercial device). However, for scientific purposes some Matlab toolbox are the best solution.
Anyway, I'd suggest to write a mail to ns-3 devs mailing list explaining a bit better your system architecture and your release plans. For this kind of things the "devs" mailing list is the best place.
Cheers,
T.