I have created a simulink model with many parameters that are fed into the model from my Workspace. I simply created a variable in my Matlab base workspace and called it within a simulink block. Now I want to run this model as a batch Job:
with script being a simple script with one line:
but the exectuion always fails with errors evaluating Parameters. In my understanding the batch Job doesn't have the necessary variables from my workspace. Is there a way to solve this problem?
The reason why I do this is because I have the parpool tool box and a couple of different simulink models I want to run simultaneously (to save time and make all cores work).
thanks for your help already!