Building Controls Virtual Test Bed
|
Methods for interfacing Simulink using BSD sockets. More...
Go to the source code of this file.
Functions | |
int16_T | establishBSDSocket (int16_T *flag) |
int16_T | exchangeDoublesWithBSDSocket (int16_T *sockfd, int16_T *flaWri, int16_T *flaRea, int16_T *nDblWri, double *simTimWri, double dblValWri[], double *simTimRea, double dblValRea[]) |
int16_T | closeBSDSocket (int16_T *sockfd, int16_T *doClose) |
Methods for interfacing Simulink using BSD sockets.
This file provides methods that allows Simulink to establish a socket connection. The file compile.m
calls this file.
Definition in file simulinkSocket.h.
int16_T closeBSDSocket | ( | int16_T * | sockfd, |
int16_T * | doClose | ||
) |
Definition at line 65 of file simulinkSocket.c.
References closeipc(), and sockfd.
int16_T establishBSDSocket | ( | int16_T * | flag | ) |
Definition at line 23 of file simulinkSocket.c.
References establishclientsocket(), and retVal.
int16_T exchangeDoublesWithBSDSocket | ( | int16_T * | sockfd, |
int16_T * | flaWri, | ||
int16_T * | flaRea, | ||
int16_T * | nDblWri, | ||
double * | simTimWri, | ||
double | dblValWri[], | ||
double * | simTimRea, | ||
double | dblValRea[] | ||
) |
Definition at line 33 of file simulinkSocket.c.
References exchangedoubleswithsocket(), fprintf(), myFlaRea, myFlaWri, NDBLMAX, nDblWri, retVal, and sockfd.