Detect change to function-call S-Function
Version 1.0.0.0 (12,6 KB) von
David Manegold
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
Zitieren als
David Manegold (2026). Detect change to function-call S-Function (https://de.mathworks.com/matlabcentral/fileexchange/31384-detect-change-to-function-call-s-function), MATLAB Central File Exchange. Abgerufen.
Kompatibilität der MATLAB-Version
Erstellt mit
R2010b
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS LinuxKategorien
Mehr zu Block and Blockset Authoring finden Sie in Help Center und MATLAB Answers
Tags
Live Editor erkunden
Erstellen Sie Skripte mit Code, Ausgabe und formatiertem Text in einem einzigen ausführbaren Dokument.
| Version | Veröffentlicht | Versionshinweise | |
|---|---|---|---|
| 1.0.0.0 |