'Turn off one branch in Matpower cases

My question is how do we turn off one branch in any matpower cases. I'm new to Matpower coding. Really appreciate if anyone can give me some idea to do a coding for this case.

Thank you Siti



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source