MATLAB REAL-TIME WORKSHOP EMBEDDED CODER - S Manuale Utente Pagina 10

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 76
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 9
2
A tool for automatic generation of code is desirable to save time and avoid
programming errors that can be made by the programmer.
1.2 Purpose
The purpose of this work is to evaluate and compare two automatic code
generation tools: TargetLink from dSPACE and Real-Time Workshop Embedded
Coder from The MathWorks. The tools will be evaluated according to Haldex
Traction specific requirements and needs. A model of a controller from Haldex
Limited Slip Coupling Generation II is used during this evaluation.
1.3 Target Group
The target groups for this work are the employees of Haldex Traction AB and
MSc. students. The readers are assumed to be familiar with Matlab/Simulink and
C programming language.
1.4 Automatic Code Generation Tools
There are several tools for automatic code generation used in industrial companies
today. In this work two tools are chosen to be evaluated: TargetLink and Real-
Time Workshop Embedded Coder. The evaluated versions are TargetLink 2.1.6
and Real-Time Embedded Coder R2006b.
TargetLink is a development tool that uses Simulink as a base environment.
TargetLink uses its own blocks in addition to several Simulink supported blocks.
The tool generates C code straight from the graphical model specification made in
Matlab/Simulink/Stateflow. The model can be designed directly in TargetLink or
in Simulink, but in the latter case, a conversion of the model is required.
A TargetLink model can look like Figure 2 below.
Vedere la pagina 9
1 2 ... 5 6 7 8 9 10 11 12 13 14 15 ... 75 76

Commenti su questo manuale

Nessun commento