Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

show

Display scope window

Syntax

show(scope)

Description

example

show(scope) shows the window of the System object™ scope.

Examples

collapse all

Create a sine wave signal and view it in the scope.

Fs = 1000;  % Sampling frequency
signal = dsp.SineWave('Frequency',50,'SampleRate',Fs,'SamplesPerFrame',100);
scope = dsp.TimeScope(1,Fs,'TimeSpan',0.25,'YLimits',[-1 1]);
for ii = 1:2
     xsine = signal();
     scope(xsine)
end

Hide the scope window.

hide(scope)

Show the scope window.

show(scope)

Clean up workspace variables.

clear scope Fs sine ii xsine

Input Arguments

collapse all

Scope System object whose window you want to show.

Example: myScope = dsp.SpectrumAnalyzer; show(myScope)

See Also

Introduced in R2011a

Was this topic helpful?