S Function with 0 output ports - callbacks mdlOutputs and mdlGetTimeOfNextVarHit never called
Info
This question is closed. Reopen it to edit or answer.
Show older comments
My S function C program works fine when there are S function blocks with nonzero output ports. But for 0 output ports if I set ssSetNumOutputPorts(S,0), the callbacks such as mdlOutputs and mdlGetTimeOfNextVarHit are never get called. Is this the right behavior? Or am I doing something wrong?
Thanks in advance.
Answers (0)
This question is closed.
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!