[ns] Using the member command() in TCL Scripts
Santhosh Kumar
vsantu88 at gmail.com
Tue Jul 14 00:20:21 PDT 2009
I have a nagging doubt. If you look at the code in wireless-phy.cc (in
$NSROOT/ns-2.34/mac), or many other C++ files, there will be a member called
"*WirelessPhy::command(int argc, const char*const* argv)*" in which there
are commands like NodeOn/NodeOff, setTxPower/setRxPower. How do I access
these functions from TCL Script. It is necessary for me to disable some
nodes during the simluation of my project for which I am planning to use
these functions.
Any help would be appreciated. Thanks in Advance.
--
Santhosh Kumar
Senior Year, Electrical Engineering
Indian Institute of Technology, Madras
More information about the Ns-users
mailing list