Hi, The utility setdest is a standalone utility. It must be invoked at the command prompt. The utility is located in the directory ns-2.35//indep-utils/cmu-scen-gen/setdest. Go to that directory and execute
./setdest -v 1 -n 50 -p 0 -M 20 -t 900 -x 1500 -y 300 The utility will create Tcl mobility statements for you. You can copy these commands and insert into your NS2 Tcl simulation script. But generally, the above run would create too many Tcl statements. You can store all the statements in a file 'out.txt' by running ./setdest -v 1 -n 50 -p 0 -M 20 -t 900 -x 1500 -y 300 > out.txt Then you can copy the mobility statements from the file out.txt to your NS2 Tcl simulation script. Best Wishes, Teerawat Issariyakul http://www.ns2ultimate.com/ http://www.facebook.com/pages/Teerawat-Issariyakul/358240861417 http://twitter.com/T_Bear http://www.t-issariyakul.blogspot.com http://www.ece.ubc.ca/~teerawat On Oct 21, 2011, at 12:11 AM, samira h wrote: > > Dear all, > Colud you please help me how to use command setdest like "setdest -v 1 -n 50 > -p 0 -M 20 -t 900 -x 1500 -y 300" in a ns program? I got the error: invalid > command name "setdest". >
