Detect change to function-call S-Function

Detect change in a signal and output a function call that can drive downstream dependant blocks
290 téléchargements
Mise à jour 9 mai 2011

Afficher la licence

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

Citation pour cette source

David Manegold (2026). Detect change to function-call S-Function (https://fr.mathworks.com/matlabcentral/fileexchange/31384-detect-change-to-function-call-s-function), MATLAB Central File Exchange. Extrait(e) le .

Compatibilité avec les versions de MATLAB
Créé avec R2010b
Compatible avec toutes les versions
Plateformes compatibles
Windows macOS Linux
Catégories
En savoir plus sur Block and Blockset Authoring dans Help Center et MATLAB Answers
Version Publié le Notes de version
1.0.0.0