delete Simulink(ex-sum) block and connect inport block to a bus using MATLAB coding
2 views (last 30 days)
Abhibrata Adhikary on 2 Jun 2022
I am currently new to matlab coding and I am trying to write a script to programatically delete the summation block and constant block, the lines connecting constant block to sum block and sum block to bus and then connect the inport 3 to the bus creator. Can someone please suggest an idea on how to approach this. Also would really appreciate if you provide some examples or matlab commands that I can use for reference. Please let me know.
Fangjun Jiang on 2 Jun 2022
Something like this. You can follow the document of these functions.