MATLAB REAL-TIME WORKSHOP EMBEDDED CODER - S Bedienungsanleitung Seite 43

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 76
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 42
35
<subsystem>.h Provides the declerations of global
variables and functions defined in
<subsystem>.c. The variables and the
functions in this header file describe
the interface of the generated code.
<subsystem>_udt.h Contains user-defined types. This file
is not generated if no user-defined
types are included in the model.
tl_basetype.h and tl_types.h Contains TargetLink defined types, for
example, Int8 or UInt32.
tl_defines_<subsystem_ID>.h Contains TargetLink-defined pre-
processor macros like FX_GROUND,
macros of variable classes with the use
name attribute and the log macro. This
file was not generated in this work.
More files are generated for simulation purposes only, those files do not affect the
production code in any way and are not mentioned here.
Real-Time Workshop Embedded Coder generates the following files:
<subsystem>.c Contains entry points for all code
implementing the model algorithm.
<subsystem>_private.h Contains local macros and local data
that are required by the model and
subsystems. This file is included by the
generated source files in the model.
<subsystem>.h Declares model data structures and a
public interface to the model entry
points and data structures.
<subsystem>_data.c Conditionally generated. It contains the
declarations for the parameters data
structure, the constant block I/O data
structure, and any zero representations
used for the model’s structure data
types.
<subsystem>_types.h Provides forward declarations for the
real-time model data structure and the
parameters data structure. These may
be needed by function declarations of
reusable functions. Also provides type
definitions for user-defined types used
by the model.
Seitenansicht 42
1 2 ... 38 39 40 41 42 43 44 45 46 47 48 ... 75 76

Kommentare zu diesen Handbüchern

Keine Kommentare