show
Syntaxe
Description
show(
affiche la fenêtre Scope.scope
)
Exemples
Afficher l'onde sinusoïdale sur la portée temporelle
Créez un signal sinusoïdal avec deux tonalités, une à 0,3 kHz et l'autre à 3 kHz.
t = (0:1000)'/8e3; xin = sin(2*pi*0.3e3*t)+sin(2*pi*3e3*t);
Créez un objet timescope
et affichez le signal sinusoïdal en appelant l'objet de portée temporelle scope
.
scope = timescope(SampleRate=8e3,... TimeSpanSource="property",... TimeSpan=0.1); scope(xin)
Exécutez release
pour autoriser les modifications des valeurs de propriété et des caractéristiques d'entrée. L'oscilloscope met automatiquement à l'échelle les axes.
release(scope);
Masquer la fenêtre Scope.
if(isVisible(scope)) hide(scope) end
Afficher la fenêtre Scope.
if(~isVisible(scope)) show(scope) end
Arguments d'entrée
scope
— Objet de portée
Objet timescope
Objet Scope dont vous souhaitez afficher la fenêtre, spécifié comme objet timescope
.
Exemple : myScope = timescope; show(myScope)
Historique des versions
Introduit dans R2020a
Commande MATLAB
Vous avez cliqué sur un lien qui correspond à cette commande MATLAB :
Pour exécuter la commande, saisissez-la dans la fenêtre de commande de MATLAB. Les navigateurs web ne supportent pas les commandes MATLAB.
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)