Detect change to function-call S-Function
Versione 1.0.0.0 (12,6 KB) da
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
Cita come
David Manegold (2025). Detect change to function-call S-Function (https://it.mathworks.com/matlabcentral/fileexchange/31384-detect-change-to-function-call-s-function), MATLAB Central File Exchange. Recuperato .
Compatibilità della release di MATLAB
Creato con
R2010b
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS LinuxCategorie
Scopri di più su Block and Blockset Authoring in Help Center e MATLAB Answers
Tag
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Scopri Live Editor
Crea script con codice, output e testo formattato in un unico documento eseguibile.
Versione | Pubblicato | Note della release | |
---|---|---|---|
1.0.0.0 |