Amazing technological breakthrough possible @S-Logix

Office Address

  • #5, First Floor, 4th Street Dr. Subbarayan Nagar Kodambakkam, Chennai-600 024 Landmark : Samiyar Madam
  • +91- 81240 01111

Social List

How to create trace file in ns2?

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

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