Contenu principal

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

Customizable Blocks

R2026a
Blocs d'apparence personnalisable qui contrôlent les valeurs des paramètres et affichent les valeurs des signaux pendant la simulation

Concevez des blocs Dashboard qui ressemblent aux contrôles et affichages d'un système réel.

Vous pouvez utiliser des blocs Dashboard pour créer une interface intuitive et interactive pour votre modèle. Les blocs de contrôle tels que Knob sont connectés à des variables ou des paramètres réglables du modèle. Ils permettent de modifier de manière interactive la valeur de l'élément connecté pendant la simulation. Les blocs d'affichage sont connectés aux signaux du modèle dont ils indiquent les valeurs en cours de simulation. Pour plus d’informations, consultez Contrôler les simulations avec des tableaux de bord interactifs.

Blocs

Callback Button blockCallback ButtonExecute MATLAB code using button with customizable appearance
Check Box blockCheck BoxChange parameter or variable value during simulation using check box with customizable appearance (depuis R2024b)
Circular Gauge blockCircular GaugeDisplay signal value during simulation on circular gauge with customizable appearance
Combo Box blockCombo BoxChange parameter or variable value during simulation using combo box with customizable appearance (depuis R2025a)
Customizable Display blockDisplayDisplay signal value during simulation in box with customizable appearance (depuis R2023b)
Half Gauge blockHalf GaugeDisplay signal value during simulation on gauge shaped as half-circle with customizable appearance (depuis R2024a)
Horizontal Gauge blockHorizontal GaugeDisplay signal value during simulation on horizontal gauge with customizable appearance
Horizontal Slider blockHorizontal SliderChange parameter or variable value using horizontal slider with customizable appearance
Knob blockKnob Change parameter or variable value using knob with customizable appearance
Lamp blockLampDisplay color that reflects signal value on lamp with customizable appearance
MultiStateImage blockMultiStateImageDisplay images based on signal values on block with customizable appearance (depuis R2026b)
Push Button block.Push ButtonChange parameter or variable value using button with customizable appearance
Quarter Gauge blockQuarter GaugeDisplay signal value during simulation on gauge shaped as quarter-circle with customizable appearance (depuis R2024a)
Radio Button blockRadio ButtonChange parameter or variable value during simulation using radio button with customizable appearance (depuis R2025a)
Rocker Switch blockRocker SwitchChange parameter or variable value using switch with customizable appearance
Rotary Switch blockRotary SwitchChange parameter or variable value using rotary switch with customizable appearance
Slider Switch blockSlider SwitchChange parameter or variable value using switch with customizable appearance
Toggle Switch blockToggle SwitchChange parameter or variable value using switch with customizable appearance
Vertical Gauge blockVertical GaugeDisplay signal value during simulation on vertical gauge with customizable appearance
Vertical Slider blockVertical SliderChange parameter or variable value using vertical slider with customizable appearance

Sélection d՚exemples