0

I use the Version 5.4.1 and Need to add a CSV-File that contains weather datas to OMNeT++ for simulating the Dataexchange between nodes. I do not know how I can add this file to OMNeT++ and could not find anything helpful in the documentation. Thanks.

kiko
  • 29
  • 4

1 Answers1

1

OMNeT++ uses C++ to define behavior of modules, so one can use any available in C++ way to open a CSV file and parse it, for example look at this answer.
Moreover, OMNeT++ API contains cStringTokenizer class that may be used to parse a string.

Jerzy D.
  • 6,707
  • 2
  • 16
  • 22