Hi,

I am coupling a MATLAB code with the Finite Element Software ANSYS. I would like to run +100 FEM models automatically by run the MATLAB code. I have the code for 1 model run. My question is: How can I program MATLAB to start running the second model only after I get the results from the 1st, and so on? Only one instance of the batch can be run at once, so I would like to program the batch run only when the previous model is solved, so I can get it to work properly.

How can I do that? Thanks, Hugo

## Best Answer