This is not an error...only a warning.
You can solve it by writing:
set val(chan) Channel/WirelessChannel
...
set chan_ [new $val(chan)]
$ns_ node-config -channel $chan_
instead of
$ns_ node-config -channel $val(chan)
because it is deprecated.
Bye!
Mohammed Abu-Khadra wrote:
hi all,
first
hi all,
first of all am using Cygwin ns-2.29 all-in-one .. am trying to run the
wireless examples associated in this link simple-wireless.tcl
http://www.isi.edu/nsnam/ns/tutorial/nsscript5.html
but there is an error msg appears
$ns simple-wireless.tcl
num_nodes is set 2
warning: Please use
This is just a warning ! And you can ignore it, and look for your tarce
files (simulation results) in the .tr files.
Just ignore this line :
warning: Please use -channel as shown in tcl/ex/wireless-mitf.tcl
On 3/14/06, Mohammed Abu-Khadra [EMAIL PROTECTED] wrote:
hi all,
first of all am