Suppose ns3 is installed in /home/tarballs/ns-allinone-3.19 and netanim installed in home itself Then there will be a folder netanim
Go to terminal
type cd tarballs/ns-allinone-3.19/ns-3.19/
Then run ns3 script using ./waf --run scratch/ProgramName
If it is successful then it will indicate
'build' finished successfully (3.723s)
To run the anim xml file produced in previous example go to terminal
cd netanim
./NetAnim
Then specify the xml file name in example firstPgm.xml
Go to terminal
type cd tarballs/ns-allinone-3.19/ns-3.19/
Then run ns3 script using ./waf --run scratch/ProgramName
If it is successful then it will indicate
'build' finished successfully (3.723s)
To run the anim xml file produced in previous example go to terminal
cd netanim
./NetAnim
Then specify the xml file name in example firstPgm.xml
No comments:
Post a Comment