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

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 386
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 337
13 Real-Time Workshop Rapid Simulation Target
13-8
This picture shows the resulting plot.
As a result the new data file is read and the simulation progresses to the stop
time as specified in the Solver page of the Simulation Parameters dialog box.
It is possible to have multiple instances of From File blocks in your Simulink
model.
Since
rsim does not place signal data into generated code, it reduces code size
and compile time for systems with large numbers of data points that originate
in From File blocks. The From File block requires the time vector and signals
to be data of type double. If you need to use data types other than double, use
a From Workspace block with the data specified as a structure. The workspace
data must be in this format:
variable.time
variable.signals.values
If you have more than one signal, the format must be:
variable.time
variable.signals(1).values
variable.signals(2).values
Vue de la page 337
1 2 ... 333 334 335 336 337 338 339 340 341 342 343 ... 385 386

Commentaires sur ces manuels

Pas de commentaire