To use the dSPACE interface, complete the following steps:
1. Open Rational Statemate and click the Embedded Rapid Prototyper icon.
2. Select Options > Global Profile Settings. The Global Profile Settings window is displayed.
3. Enterstm_dspace.h
in the Packages/Headers for External Subroutines field.
4. Unselect the options With Debugger, With Remote Panel Server, and Graphical Back Animation.
5. Select the target in the Target field. For example, DS1103.
6. Click OK to dismiss the window.
7. Click Options > Time Settings >Time model in the Profile Editor.
8. Select Real Time.
9. Use the I/O mapping tool (refer to Describing Signal Mapping to I/O Cards) to map model elements to I/O ports using the DS1103 card.
Refer to Setting the I/O Polling Rate for more information on I/O.
10. Generate, make, and run (load) the code. Two scripts are called in the process to make the generate code and to load the executable.