Hi everyone
I have added a new random variable "weibull" into ns2 by example and have modified rancar.cc , ranvar.h and rng.h. There was no error message after after compiling it But I ran an example that occurred an error massage as below. What steps did I forget or which file should be modified? . Does any one can help me? invalid command name "RandomVariable/Weibull" while executing "RandomVariable/Weibull create _o583 " 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) Best regard invoked from within "new RandomVariable/Weibull" ("for" body line 43) invoked from within "for {set i 0} {$i < $nb_mn} {incr i} { set wl_node_($i) [$ns node 2.0.[expr $i + 1]] ;# create the node with given @. $wl_node_($i) random-motion ..."