MATLAB REAL-TIME WORKSHOP 7 - TARGET LANGUAGE COMPILER Betriebsanweisung Seite 197

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 386
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 196
Rapid Prototyping Program Framework
6-35
Application Modules for Application Components
When the Real-Time Workshop generates code, it produces the following files:
model.c The C code generated from the Simulink block diagram. This code
implements the block diagram’s system equations as well as performing
initialization and updating outputs.
model.h — Header file containing the block diagram’s simulation
parameters, I/O structures, work structures, etc.
model_export.h Header file containing declarations of exported signals
and parameters.
model.prm Header file containing parameter and other structure
definitions.
model.reg — Header file included at the bottom of model.c.Thisfile
contains the model registration,
MdlInitializeSizes,and
ModelInitializeSampleTimes.
These files are named for the Simulink model from which they are generated;
model is replaced with the actual model name.
If you have created custom blocks using C MEX S-functions, you need the
source code for these S-functions available during the build process.
Seitenansicht 196
1 2 ... 192 193 194 195 196 197 198 199 200 201 202 ... 385 386

Kommentare zu diesen Handbüchern

Keine Kommentare