Detect change to function-call S-Function
Updated 9 May 2011
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)
David Manegold (2023). Detect change to function-call S-Function (https://www.mathworks.com/matlabcentral/fileexchange/31384-detect-change-to-function-call-s-function), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
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.