Great video, well presented. Could you please provide a tutorial on how to create a large matrix (say 3x1000) in Simulink without using MATLAB workspace
how to use if logic and while loop together in matlab function block in simulink? I am continuously getting error. also how can I use if logic and while loop together in stateflow
@@simulinktutorial9086 basically I am trying to design an algorithm for charging/discharging the battery according to the SOC (State of Charge) of the battery. For example if SOC>80% then the battery will discharge till SOC goes down below 40%. If SOC80%). Instead the simulation will stop once SOC=80%. By using "while" loop I want to make sure that if SOC>80% then battery will discharge till SOC80% while SOC is not less than 40% battery should discharge I have formed the circuit for charging/discharging the battery but it does not include the above algorithm. I want to implement the algorithm either through logic blocks or matlab function block or stateflow.