MATLAB SIMULINK VERIFICATION AND VALIDATION - S Podręcznik Użytkownika Strona 296

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 674
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 295
14 Constructing Simulation Tests Using the Verification Manager
14-16
Group 1 Group 2 (unchanged) Group 3 (unchanged)
Selecting Block group disable disables the specified block for this group only.
Use Check Static Lower Bound Block to Check for Out-of-Bounds Signal
The following example uses a Check Static Lower Bound block to stop simulation when a
signal from a Sine Wave block crosses its lower bound limit.
1
Attach a Check Static Lower Bound block to the signal from a Sine Wave block.
2
Set the Simulation stop time to 2 seconds.
3
Double-click the Sine Wave block and set the following parameters:
Set the Amplitude to 1.
Set the Frequency to pi radians per second.
4
Double-click the Check Static Lower Bound block and set the Lower bound
parameter to -0.8.
Enable assertion is the default. This parameter enables a verification block for an
assertion. You set the Check Static Lower Bound block to detect a signal value of –
Przeglądanie stron 295
1 2 ... 291 292 293 294 295 296 297 298 299 300 301 ... 673 674

Komentarze do niniejszej Instrukcji

Brak uwag