MATLAB REAL-TIME WORKSHOP 7 - TARGET LANGUAGE COMPILER Guide de l'utilisateur Page 77

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 130
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 76
Quick Start Tutorials
3-21
enables Real-Time Workshop to generate code that logs the simulation
time to the MAT-file with a related name, as you will see below.
4 Select the Output option. This tells Simulink to save time step data during
simulation as a variable named
yout. Selecting Output enables Real-Time
Workshop to generate code that logs the root Output blocks (Angle of
Attack and Pilot G Force) to the MAT-file with a related name, as you will
see below.
Note The sort order of the yout array is based on the port number of the
Outport blocks, starting with 1. Angle of Attack and Pilot G Force are logged
to yout(:,1) and yout(:,2), respectively.
5 If any other options are enabled, clear them. Set Decimation to 1 and
Format to Array. The figure below shows how the dialog appears.
6 Click Apply to register your changes.
7 Open the Pilot G Force Scope block, and run the model by clicking on the
Start button in the model’s toolbar. The resulting G Force scope display is
shown below.
Vue de la page 76
1 2 ... 72 73 74 75 76 77 78 79 80 81 82 ... 129 130

Commentaires sur ces manuels

Pas de commentaire