Contenu principal

La traduction de cette page n'est pas à jour. Cliquez ici pour voir la dernière version en anglais.

Signaux

R2026a
Configurer et afficher les propriétés des signaux

Les signaux transmettent des données entre deux blocs dans une simulation. Ces données peuvent correspondre à la sortie calculée d'un bloc ou à un simple message. La valeur du signal est calculée tout au long de la simulation. Vous pouvez afficher les données et les propriétés des signaux pendant et après la simulation, visualiser les valeurs en temps réel sur un schéma bloc ou les enregistrer en tant que variables dans l'espace de travail. Vous pouvez également exporter les signaux dans un fichier ou un espace de travail pour les étudier plus en détail.

Vous pouvez contrôler le comportement mathématique d'un modèle en spécifiant les caractéristiques des signaux telles que le type de données numériques, la valeur initiale et la plage de valeurs. Pour plus d’informations, consultez Signal Basics.

Blocs

développer tout

Signal Specification blockSignal SpecificationSpecify desired dimensions, sample time, data type, numeric type, and other attributes of signal
IC blockICDéfinir la valeur initiale de signal
Probe blockProbeOutput signal attributes, including width, dimensionality, sample time, and complex signal flag
Rate TransitionHandle transfer of data between blocks operating at different rates
Signal Editor blockSignal EditorDisplay, create, edit, and switch interchangeable scenarios
Weighted Sample Time blockWeighted Sample TimeSupport calculations involving sample time
Width blockWidthOutput width of input vector
Bus to Vector blockBus to VectorConvert virtual bus to vector
Signal Conversion blockSignal ConversionConvert signal to new type without altering signal values

Fonctions

développer tout

disableimplicitsignalresolutionConvert model to use only explicit signal resolution
signalBuilderToSignalEditorImport signal data and properties from Signal Builder block to Signal Editor block
Simulink.SignalSpecify instance-specific properties of signal or discrete state
Simulink.ValueTypeSpecify common set of signal properties for reuse
sltraceAnalyze structure of model by tracing signal sources and destinations
highlightHighlight path to signal sources or destinations in model
removehighlightRemove highlighting for sltrace.Graph object from model

Objets

sltrace.GraphSignal path traced using sltrace function

Outils

Signal PropertiesView and edit signal properties
Instrumentation PropertiesView and edit logging and visualization properties for logged signal
Property InspectorEdit parameters and properties for any Simulink model element
Model Data EditorInspect and edit data items (signals, parameters, and states) in a table that you can sort, group, and filter
Component Interface ViewDisplay component interfaces to trace port connections and author ports

Paramètres du modèle

développer tout

Signal label mismatchDiagnostic action to take when signal has multiple names through propagation
Unconnected block input portsDiagnostic action to take when block has unconnected input
Unconnected block output portsDiagnostic action to take when block has unconnected output
Unconnected lineDiagnostic action to take when model has unconnected line or unmatched Goto or From block
Signal resolutionOption to specify how model resolves signals and states to Simulink.Signal objects
Underspecified data typesDiagnostic action to take if the software is unable to infer signal data type
Underspecified dimensionsDiagnostic action to take if the software is unable to infer signal dimensions
String truncation checkingDiagnostic action to take if string signal value is truncated

Rubriques

En savoir plus sur les signaux

  • Signal Basics
    Create, configure, identify, and test signals.
  • Signal Types
    Learn about different types of signals, such as control signals and composite signals.
  • Signal Groups
    Test or debug models by creating interchangeable groups of signal data.

Propriétés des signaux

Afficher les propriétés des signaux

Signaux de taille variable

Sélection d՚exemples