Function Call Trigger Problem

2 ビュー (過去 30 日間)
Ali
Ali 2025 年 1 月 17 日
コメント済み: Fangjun Jiang 2025 年 1 月 19 日
Outport block must be connected to one of the following blocks: an exported function, a Simulink function, an Initialize/Reset/Terminate function, a Merge or Mux block that is driven by exported functions, or a Ground block.
How can i solve this problem? Thank you.

回答 (1 件)

Fangjun Jiang
Fangjun Jiang 2025 年 1 月 17 日
This "Outport" block seems to output a function call trigger. The message tells you what type of block can receive this signal. This signal is "control/trig" signal. It is different than a typical "data" signal.
  2 件のコメント
Ali
Ali 2025 年 1 月 18 日
移動済み: Fangjun Jiang 2025 年 1 月 19 日
I want to use this resulting signal as a PWM at the end of the function. Therefore, I will assign the PWM duty value with this value with the embedded coder. What should I add so that I can do this? Actually, isn't this enough when you use outport?
Fangjun Jiang
Fangjun Jiang 2025 年 1 月 19 日
Show or attach your model. It is not clear what you try to do based on your description and how it is related to "function call trigger" output.

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeSources についてさらに検索

タグ

製品


リリース

R2024a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by