Detect change to function-call S-Function

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

引用

David Manegold (2026). Detect change to function-call S-Function (https://jp.mathworks.com/matlabcentral/fileexchange/31384-detect-change-to-function-call-s-function), MATLAB Central File Exchange. に取得済み.

カテゴリ

Help Center および MATLAB AnswersBlock and Blockset Authoring についてさらに検索

一般的な情報

MATLAB リリースの互換性

  • すべてのリリースと互換性あり

プラットフォームの互換性

  • Windows
  • macOS
  • Linux
バージョン 公開済み リリース ノート Action
1.0.0.0