■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■
▼
Implementing and Handling Applications
DS1104 Hardware Installation and Configuration March 2004
43
▲
■■■■■■■■■■I
▲■■■■■■■■■■■■■■■
Implementing Models
Basically, there are two ways to create real-time applications to be
implemented on your dSPACE hardware.
Using RTI If you use MATLAB/Simulink for constructing control models, the
C code is automatically generated by the Real-Time Workshop in
conjunction with dSPACE’s Real-Time Interface (RTI). RTI is the
interface between Simulink and the various dSPACE platforms. See
Implementing Simulink Models Using Real-Time Interface on page 44.
Handcoding An algorithm can also be handcoded in C. In addition to the necessary
compilers, the tools required to generate object files are part of the
dSPACE software. See How to Implement C Models on page 49.