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

  • 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 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.
Vue de la page 196
1 2 ... 192 193 194 195 196 197 198 199 200 201 202 ... 385 386

Commentaires sur ces manuels

Pas de commentaire