■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■
▼
Implementing and Handling Applications
DS1103 Hardware Installation and Configuration March 2004
115
▲
■■■■■■■■■■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 116.
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 121.