Function Call Trigger Problem

10 visualizzazioni (ultimi 30 giorni)
Ali
Ali il 17 Gen 2025
Commentato: Fangjun Jiang il 19 Gen 2025
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.

Risposte (1)

Fangjun Jiang
Fangjun Jiang il 17 Gen 2025
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 Commenti
Ali
Ali il 18 Gen 2025
Spostato: Fangjun Jiang il 19 Gen 2025
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 il 19 Gen 2025
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.

Accedi per commentare.

Prodotti


Release

R2024a

Community Treasure Hunt

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

Start Hunting!

Translated by