| Contents | Index |
void ssSetOutputPortFrameData(SimStruct *S, int_T port, Frame_T outputsFrames)
SimStruct representing an S-Function block.
Index of an output port.
Type of signal output by port. Acceptable values are FRAME_INHERITED (either frame or unframed output), FRAME_NO (unframed output only), and FRAME_YES (framed output only).
Use in mdlInitializeSizes to specify whether an output port issues frame data only, unframed data only, or both. By default, output ports do not issue frame signals (FRAME_NO). If the S-function specifies FRAME_INHERITED for the frame status of any of its output ports, the S-function should include an mdlSetInputPortFrameData callback method to set the frame status for these ports.
The use of frame-based signals (outputsFrames has a value of FRAME_YES) requires a DSP System Toolbox product license.
C, C++
See the S-function sdotproduct.c used in sfcndemo_sdotproduct.mdl.
ssGetOutputPortFrameData, mdlSetInputPortFrameData

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.
| © 1984-2012- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |