我是非常新的新手 准备将柯志亨大佬的脚本运行一遍试试 我的ns2装好了 但是输入startxwin.bat打不开xwin serve ,只能在外部打开,打开之后也能调动nam(不知道是不是说错了) 然后我把柯大佬的脚本输入之后(基本确认没有因为我的输入导致语法错误) 还是出现了问题 恳请各位看看!走过路过别错过!
Administrator@PC-20190419MBSP ~/ns-allinone-2.35/ns-2.35/tcl/ex
$ ns lab11.tcl Tahoe
ns: record:
(_o3 cmd line 1)
invoked from within
"_o3 cmd at0.01 record"
invoked from within
"catch "$self cmd $args" ret"
invoked from within
"if [catch "$self cmd $args" ret] {
set cls [$self info class]
global errorInfo
set savedInfo $errorInfo
error "error when calling class $cls: $args" $..."
(procedure "_o3" line 2)
(SplitObject unknown line 2)
invoked from within
"$ns at[expr $now+0.01] "record""
(procedure "record" line 9)
invoked from within
"record"
实在是不知道啥意思。。。。