Dashboard Switch Reset

Resets state of Simulink Dashboard button based on system state.

您现在正在关注此提交

Dashboard switches are able to turn a referenced signal on/off, but do not update their own state if the referenced signal changes without user input.

A solution using a triggered subsystem and the Matlab "set_param" function is demonstrated here with simple on/off function. The example system turns itself off after being on for 3 seconds, and resets the dashboard switch to "off".

Concept was discussed at https://www.mathworks.com/matlabcentral/answers/516815-programatically-change-state-of-slider-switch

引用格式

Adam Chapman (2026). Dashboard Switch Reset (https://ww2.mathworks.cn/matlabcentral/fileexchange/74951-dashboard-switch-reset), MATLAB Central File Exchange. 检索时间: .

一般信息

MATLAB 版本兼容性

  • 兼容任何版本

平台兼容性

  • Windows
  • macOS
  • Linux
版本 已发布 发行说明 Action
1.0.0