Function Call Trigger Problem

4 visualizaciones (últimos 30 días)
Ali
Ali el 17 de En. de 2025
Comentada: Fangjun Jiang el 19 de En. de 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.

Respuestas (1)

Fangjun Jiang
Fangjun Jiang el 17 de En. de 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 comentarios
Ali
Ali el 18 de En. de 2025
Movida: Fangjun Jiang el 19 de En. de 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 el 19 de En. de 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.

Iniciar sesión para comentar.

Etiquetas

Productos


Versión

R2024a

Community Treasure Hunt

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

Start Hunting!

Translated by