Writing S-Functions Previous page   Next Page

Processing Frame-Based Signals

This section explains how to create an S-function that accepts and/or produces frame-based signals. See "Frame-Based Signals" in the "Working with Signals" section of the Signal Processing Blockset documentation for a comprehensive discussion of the use of frame-based signals in Simulink models.

To accept or produce frame-based signals, an S-function must perform the following tasks:

See the frame-based A/D converter S-function example (sfun_frmad.c) for an example of how to create a frame-based S-function.


Previous page  Function-Call Subsystems Handling Errors Next page

© 1994-2005 The MathWorks, Inc.