Batch simulations - Forum - Riverlab
Community header
Forum
Batch simulations
Victor Chavarrias, modified 4 Years ago.
Batch simulations
Famous Fortune teller Posts: 97 Join Date: 4/24/20 Recent Posts
Hi,
I have received the following questions:
I have done it before, but the code has evolved and I have not updated these scripts, so my old scripts will not work. It is simple.
I have received the following questions:
- Can I perform a simulation directly by using an input.mat?
- Can I make a new input file directly (new input.mat) using an old one? This might be easier that changing (and storing under a different name) input_ELV every time.
- Can I perform multiple simulations (batching)? I thought single_run_ELV might be used for that as a base. But couldn’t figure that out. Do you have a sample input/script?
I have done it before, but the code has evolved and I have not updated these scripts, so my old scripts will not work. It is simple.
- Create a reference input file (i.e., 'input_ELV.m').
- Save the input variable (i.e., 'input.mat') or run the simulation for this to be done automatically.
- Create a script modifying script 'oh_ELV_please_run'. Make it to load the reference input variable, and change the parameters you want to change before calling 'run_ELV'.