Simulations can be automated by a simulation script. A typical application is to change boundary conditions or Batemo Cell Model parameters and perform and evaluate a set of simulations. Use the From Workspace, the From File or the From Spreadsheet block from the Simulink library browser under Simulink / Sources to dynamically change boundary conditions using a script.
Adjust your boundary conditions and Batemo Cell Model parameters within a for-loop and use the command
sim('YourModel') to start the simulation. The simulation results are saved with the To File or the To Workspace blocks from the Simulink library browser under Simulink / Sinks.