MATLAB REAL-TIME WORKSHOP 7 - TARGET LANGUAGE COMPILER Uživatelská příručka Strana 146

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 386
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 145
4 External Mode
4-22
Using the TCP Implementation
This section describes how to use the TCP-based client/server implementation
provided with the Real-Time Workshop. In order to use Simulink external
mode, you must:
Specify the name of the external interface MEX-file in the
External Target
Interface
dialog box.
Configure the template makefile so that it links the proper source files for
the TCP server code and defines the necessary compiler flags when building
the generated code.
Build the external program.
Run the external program.
Set Simulink to external mode and start the simulation.
This figure shows the structure of the TCP-based implementation:
Zobrazit stránku 145
1 2 ... 141 142 143 144 145 146 147 148 149 150 151 ... 385 386

Komentáře k této Příručce

Žádné komentáře