Simulink - Switch - Example
Version 1.0.0.0 (13.2 KB) by
Duc Chung Tran
The file is an example of simple design for simulation of Switch in MATLAB
The file contains 5 components:
- Sine Wave
- Constant
- Switch
- Two (2) Scopes
It serves as an example on how to use a switch in MATLAB. There are three (3) inputs and one (1) output in the switch. When condition in input 2 is met, output is channeled to input 1 else it is channeled to input 3.
Cite As
Duc Chung Tran (2025). Simulink - Switch - Example (https://se.mathworks.com/matlabcentral/fileexchange/45835-simulink-switch-example), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2013a
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
Find more on Performance and Memory in Help Center and MATLAB Answers
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0.0 |
