Simulink ON/OFF switch
版本 1.2.0.0 (9.1 KB) 作者:
Glenn Gomes
Simulink ON/OFF switch.
Used to toggle between ON and OFF states.
Subsystem alternates between ON and OFF and changes colors and labels accordingly.
The output is 0 and color is blue when OFF
The output is 1 and color is red when ON.
Code is contained in the OpenFcn callback and can be changed as needed.
引用格式
Glenn Gomes (2025). Simulink ON/OFF switch (https://ww2.mathworks.cn/matlabcentral/fileexchange/39348-simulink-on-off-switch), MATLAB Central File Exchange. 检索时间: .
MATLAB 版本兼容性
创建方式
R2012b
兼容任何版本
平台兼容性
Windows macOS Linux标签
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!