dsp.SignalSink
R2026bLog simulation data in buffer
Description
The dsp.SignalSink
System object™ logs MATLAB® simulation data. This object accepts any numeric data type.
To log MATLAB simulation data :
Create the
dsp.SignalSinkobject and set its properties.Call the object with arguments, as if it were a function.
To learn more about how System objects work, see What Are System Objects?
Creation
Description
returns a signal sink,
ss = dsp.SignalSinkss, that logs 2-D input data in the object.
sets properties using one or more name-value arguments. For example,
to specify the maximum number of input frames to log as 5, set
ss = dsp.SignalSink(PropertyName=Value)BufferLength to 5.
Properties
Usage
Syntax
Description
Input Arguments
Object Functions
To use an object function, specify the
System object as the first input argument. For
example, to release system resources of a System object named obj, use
this syntax:
release(obj)
Examples
Algorithms
This object implements the algorithm, inputs, and outputs described on the To Workspace (Simulink) block reference page. The object properties correspond to the block properties, except the object always generates fixed-point output for fixed-point input.