You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
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
Cite As
David Manegold (2026). Detect change to function-call S-Function (https://se.mathworks.com/matlabcentral/fileexchange/31384-detect-change-to-function-call-s-function), MATLAB Central File Exchange. Retrieved .
General Information
- Version 1.0.0.0 (12.6 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.0.0.0 |