主要内容

本页翻译不是最新的。点击此处可查看最新英文版本。

示波器和数据记录

显示和记录数据

DSP 示波器使用仿硬件的界面来可视化实时流数据。使用测量、游标、触发器和封装以可视化方式检查和分析流数据。在 MATLAB® 中,您可以使用示波器 System object 来可视化流数据。示波器在 Simulink® 中,您可以使用示波器模块或 App 来可视化信号,也可以使用 Time ScopeTo Workspace 模块将数据保存到 MATLAB。

模块

全部展开

Array PlotDisplay vectors or arrays
Display显示输入的值
Spectrum AnalyzerDisplay frequency spectrum
Time ScopeDisplay and analyze signals generated during simulation and log signal data to MATLAB
Filter VisualizerDisplay magnitude and phase response of time-varying digital filters (自 R2023a 起)
To Workspace将数据从 Simulink 模型记录到工作区
Triggered To Workspace Write input sample to MATLAB workspace when triggered
Spectrum AnalyzerDisplay frequency spectrum
Time ScopeDisplay and analyze signals generated during simulation and log signal data to MATLAB

函数

全部展开

timescopeDisplay time-domain signals
spectrumAnalyzerDisplay frequency spectrum of time-domain signals (自 R2022a 起)
dsp.ArrayPlotDisplay vectors or arrays
dsp.LogicAnalyzerVisualize, measure, and analyze transitions and states over time
dsp.DynamicFilterVisualizerDisplay time-varying magnitude and phase response of digital filters
dsp.MatrixViewerVisualize matrix data
timescopeDisplay time-domain signals
TimeScopeConfiguration控制 Scope 模块的外观和行为
generateScriptGenerate MATLAB script to create scope with current settings
printToFigurePrint scope window to MATLAB figure (自 R2023b 起)
spectrumAnalyzerDisplay frequency spectrum of time-domain signals (自 R2022a 起)
SpectrumAnalyzerBlockConfigurationConfigure Spectrum Analyzer block
isNewDataReadyCheck spectrum analyzer for new data
generateScriptGenerate MATLAB script to create scope with current settings
getSpectrumDataSave spectrum data shown in spectrum analyzer
getSpectralMaskStatusGet test results of current spectral mask
getMeasurementsDataGet the current measurement data displayed on the spectrum analyzer
printToFigurePrint scope window to MATLAB figure (自 R2023b 起)
dsp.LogicAnalyzerVisualize, measure, and analyze transitions and states over time
addCursorAdd cursor to Logic Analyzer
addDividerAdd divider to Logic Analyzer
addWaveAdd wave to Logic Analyzer
deleteCursorDelete Logic Analyzer cursor
deleteDisplayChannelDelete Logic Analyzer channel
getCursorInfoReturn settings for Logic Analyzer cursor
getCursorTagsReturn all Logic Analyzer cursor tags
getDisplayChannelInfoReturn settings for Logic Analyzer display channel
getDisplayChannelTagsReturn all Logic Analyzer display channel tags
modifyCursorModify properties of Logic Analyzer cursor
modifyDisplayChannelModify properties of Logic Analyzer display channel
moveDisplayChannelMove position of Logic Analyzer display channel
dsp.ArrayPlotDisplay vectors or arrays
generateScriptGenerate MATLAB script to create scope with current settings
printToFigurePrint scope window to MATLAB figure (自 R2023b 起)
dsp.MatrixViewerVisualize matrix data
setCursorDataLabelsCustomize data labels for cursor measurements
dsp.DynamicFilterVisualizerDisplay time-varying magnitude and phase response of digital filters
stepDisplay time-varying magnitude response
printToFigurePrint scope window to MATLAB figure (自 R2023b 起)
dsp.SignalSinkLog simulation data in buffer

App

逻辑分析仪可视化、测量并分析一段时间内的转移和状态

主题

示波器配置

示波器工作流

数据记录

精选示例