Data save Format in ns2

  • The data can be stored in ns2 using the following command

    set r [open result]puts $r “print the result”

  • The “print the result” will be stored in result.tr File.