Nested ini files

9 views
Skip to first unread message

Ronnie

unread,
Jun 25, 2015, 1:59:19 PM6/25/15
to omn...@googlegroups.com
Hi, 


We can include ini files within our main ini file, just as

include Parameters0.ini

My question is, can part of the filename be dynamic?

In other words, i have 

repeat = 10
seed-set = ${repetition}

i would like to do something like 

include Parameters"${repetition}"


so that for run0 it picks the file Parameters0, 
for run1 it picks Parameters1, and so on. 


Thanks. 

Best regards,
Ronnie
PhD student, 
TU Eindhoven








Michael Kirsche

unread,
Jun 28, 2015, 9:51:20 AM6/28/15
to omn...@googlegroups.com
Isn't the "experimentation" support what you want?
https://omnetpp.org/doc/omnetpp/manual/usman.html#sec348
Different parameter configurations can be defined in different configs and then run with different seeds. That's probably what you want to achieve, correct?
Reply all
Reply to author
Forward
0 new messages