MATLAB REAL-TIME WORKSHOP 7 - TARGET LANGUAGE COMPILER Guía de usuario Pagina 197

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 386
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 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.
Vista de pagina 196
1 2 ... 192 193 194 195 196 197 198 199 200 201 202 ... 385 386

Comentarios a estos manuales

Sin comentarios