Detect change to function-call S-Function

Detect change in a signal and output a function call that can drive downstream dependant blocks

您现在正在关注此提交

The "Detect Change" block works great for outputting a Simulink Signal, but oftentimes you may wish to output function-call to trigger some downstream logic of function-called subsystems. Here is an S-Function that does just that

(Ensure your compiler is set up properly)

mex sfun_detect2funcall.c
sim Model_detect2funcall

引用格式

David Manegold (2026). Detect change to function-call S-Function (https://ww2.mathworks.cn/matlabcentral/fileexchange/31384-detect-change-to-function-call-s-function), MATLAB Central File Exchange. 检索时间: .

类别

Help CenterMATLAB Answers 中查找有关 Block and Blockset Authoring 的更多信息

一般信息

MATLAB 版本兼容性

  • 兼容任何版本

平台兼容性

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