Visualize, measure, and analyze transitions and states over time
The Logic Analyzer System object™ displays the transitions in time-domain signals. Using dsp.LogicAnalyzer
, you can:
Debug and analyze models
Trace and correlate 96 signals simultaneously
Detect and analyze timing violations
Trace system execution
Detect signal changes using triggers
To display the transitions of signals in the Logic Analyzer:
Create the dsp.LogicAnalyzer
object 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?.
For more information about how to configure and customize the Logic Analyzer, see Logic Analyzer.
scope = dsp.LogicAnalyzer
creates a Logic Analyzer System object, scope
.
scope = dsp.LogicAnalyzer(Name,Value)
sets properties using one
or more name-value pairs. Enclose each property name in single quotes. For example,
scope =
dsp.LogicAnalyzer('BackgroundColor','White','NumInputPorts',4)
.
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)
To close the logic analyzer window and clear its associated data, use the MATLAB®
clear
function.