when i run tcl files given on mannasim site one of them is 
then it gives error

warning: Please use -channel as shown in tcl/ex/wireless-mitf.tcl
invalid command name "EnergyModel/Battery"
    while executing
"EnergyModel/Battery create _o33 _o15 100.0 0.5 0.2"
    invoked from within
"catch "$className create $o $args" msg"
    invoked from within
"if [catch "$className create $o $args" msg] {
if [string match "__FAILED_SHADOW_OBJECT_" $msg] {
delete $o
return ""
global errorInfo
error "class $..."
    (procedure "new" line 3)
    invoked from within
"new $energyModel_ $node  $initialEnergy_ $l1 $l2"
    invoked from within
"if [info exists energyModel_] {
if  [info exists level1_] {
set l1 $level1_
} else {
set l1 0.5
if  [info exists level2_] {
set l2 $level2_
} else {..."
    (procedure "_o3" line 115)
    (Simulator create-wireless-node line 115)
    invoked from within
"_o3 create-wireless-node"
    ("eval" body line 1)
    invoked from within
"eval $self create-wireless-node $args"
    (procedure "_o3" line 23)
    (Simulator node line 23)
    invoked from within
"$ns_ node"
    (procedure "create_cluster_head_node" line 7)
    invoked from within
    ("for" body line 2)
    invoked from within
"for {set j 0} {$j < $val(n_cluster)} {incr j} {
    (file "mannasim-rede-hierarquica.tcl" line 354)

how it can be solved pls help

View this message in context: 
Sent from the ns-users mailing list archive at Nabble.com.

Reply via email to