Research breakthrough possible @S-Logix pro@slogix.in

Office Address

  • 2nd Floor, #7a, High School Road, Secretariat Colony Ambattur, Chennai-600053 (Landmark: SRM School) Tamil Nadu, India
  • pro@slogix.in
  • +91- 81240 01111

Social List

How to create trace file in ns2?

  • Step-1. Setup trace support in ns-2 by opening file test.tr (user defined name)
  • Step-2. Call the procedure trace-all {}

    set ns [new Simulator]set tracefd [open test.tr w]$ns trace-all $tracefdwhere,tracefd → file handle for test.trns → Simulator instance