Hey,
my aim is to run a procedure in the batch mode. I want to put different models in this procudre. I know how i can read in the path where the model is builded but i also want to use the model, which for example is called testmod.
So my question is, if there is a possibility to save the models name in a txt-file and load that txt-file in the bath mode. I want Rats to recognise that this is a model name? How can i achieve it?
Best regards
Store Model Name and Load it Later on
Re: Store Model Name and Load it Later on
There isn't really any mechanism for saving models. You can create multiple source files, each of which defines a particular form of the model, and choose which one to bring in programmatically. For instance,
compute whichmodel="model1"
source &(whichmodel+".src")
compute whichmodel="model1"
source &(whichmodel+".src")