Consider using the Configurational Subsystem block that is in the Simulink Library Browser under Simulink → Ports & Subsystems. Create a new Simulink library file and insert the Batemo Cells you want to exchange by drag & drop from the Simulink Library browser. Then insert the Configurational Subsystem and double-click it. You can choose which Batemo Cells should be members of the configurational subsystem that can later be selected. Click OK and save your library file. Insert the configurational subsystem by drag & drop in your simulation model. When you right-click the configurational subsystem and select Block Choice you can change the block to be any of its members by one click. This can also be automated by the following line of MATLAB code: set_param(‘YourModel/YourConfigurationalSubsystem’,’BlockChoice’,’YourMember’);