Did you say circuit breaker or switch because thereis no circuit breaker in the set up.
Also the puroose of this is to enable me input the current voltage from the battery to the MATLAB function block and based on the if condition, it will toggle the switch on or off. Now I wanted to build something wimple to first test the working of the switch before I can implement it..so by adding resistance and load…will that resolve this issue..thanks for the idea of using an if or NOT block..I will do that.