I was looking at controlling (toggling) the "manual switch" block in Simulink through M-scripts (matlab commands).
I was able to do so using the following command:
I was able to Google the right parameter (as listed above) in case for manual switch.
Now the question is, from where do I find that manual switch" has a parameter of "sw" to control it using the set_param() function?
Both the above functions doesn't list "sw" as a parameter for "manual switch".
I'm using Simulink on Matlab R2012b