Function Call Trigger Problem

조회 수: 3 (최근 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 CenterFile Exchange에서 Sources에 대해 자세히 알아보기

태그

제품


릴리스

R2024a

Community Treasure Hunt

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

Start Hunting!

Translated by