MATLAB REAL-TIME WORKSHOP 7 - TARGET LANGUAGE COMPILER Guía de usuario Pagina 143

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 386
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 142
External Mode GUI
4-19
The Simulink side initiates the parameter download operation by calling a
procedure on the external program side. In the general terminology of client/
server computing, this means the Simulink side is the client and the external
program is the server. The two processes can be remote, in which case a
communication protocol is used to transfer data, or they can be local and
employ shared memory to transfer data.
The following diagram illustrates this relationship.
Figure 4-1: External Mode Architecture
Simulink calls the external interface MEX-file whenever you change
parameters in the block diagram. The MEX-file then downloads the
parameters to the external program via the communication channel.
External Program
IPC Code
Server
External
Program
Process
Simulink Process
Interprocess Communication Channel
IPC Code
Client
mexFunction
External Interface
MEX-file
Vista de pagina 142
1 2 ... 138 139 140 141 142 143 144 145 146 147 148 ... 385 386

Comentarios a estos manuales

Sin comentarios