Archived OpenModelica forums. Posting is disabled.

Alternative forums include GitHub discussions or StackOverflow (make sure to read the Stack Overflow rules; you need to have well-formed questions)


Forgot password? | Forgot username? | Register

OMShell overrideFiles with two files

OMShell overrideFiles with two files

How can  overrideFile with two files?

I tried this line. I do not got any error, but only a.txt override. b.txt not proceeed.

simulate(allnew,stopTime=6000,simflags="-overrideFile a.txt,b.txt");

Thanks
Oki

Re: OMShell overrideFiles with two files

Now why on earth does one override file is not enough?
Just append the files to a third one and use that. Windows type a.txt b.txt > c.txt. Linux cat a.txt b.txt > c.txt.

Edited by: adrpo - Mar-15-15 19:48:49

Re: OMShell overrideFiles with two files

current/smile

Because; i want to keep same type of  variables  in one file. For example, i got 8 resistor,capacitance and SOCini.
I want to change dynamically only resistors inside  for loop it is easy to manipulate files. Thats why.

Oki

Re: OMShell overrideFiles with two files

Well, we don't have overrideFile with several files. You could append the files into one and it should work fine.

Re: OMShell overrideFiles with two files

sure, thanks anyway

There are 0 guests and 0 other users also viewing this topic
You are here: