| Products & Services | Solutions | Academia | Support | User Community | Company |
| Download Product Updates | | | Get Pricing | | | Trial Software |
| Documentation → Simscape |
| Contents | Index |
| Learn more about Simscape |
Electrical Elements
The Switch block models a switch controlled by an external physical signal. If the external physical signal PS is greater than the value specified in the Threshold parameter, then the switch is closed, otherwise the switch is open.

The resistance of the switch when it is closed. The parameter value must be greater than zero. The default value is 0.01 Ω.
The conductance of the switch when it is open. The parameter value must be greater than zero. The default value is 1e-8 1/Ω.
The threshold value for opening and closing the switch. If the external physical signal PS is greater than this value, then the switch is closed, otherwise the switch is open. The default value is 0.
The block has two electrical conserving ports and one physical signal port PS.
![]() | Solver Configuration | Thermal Mass | ![]() |

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.
| © 1984-2009- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |