Building Controls Virtual Test Bed
defines.h File Reference

Define statements used by the BCVTB C methods. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define BUFFER_LENGTH   1024
 Debug flag, uncomment to enable debug messages More...
 
#define NDBLMAX   1024
 Maximum number of double values that can be exchanged by Simulink. More...
 
#define MAINVERSION   2
 The main version of the socket interface. More...
 

Detailed Description

Define statements used by the BCVTB C methods.

Author
Michael Wetter, Simulation Research Group, LBNL, MWett.nosp@m.er@l.nosp@m.bl.go.nosp@m.v
Date
2007-12-01

Definition in file defines.h.

Macro Definition Documentation

#define BUFFER_LENGTH   1024

Debug flag, uncomment to enable debug messages

#ifndef NDEBUG #define NDEBUG #endif Lenght of buffer used to communicate with the BSD socket.

Definition at line 26 of file defines.h.

Referenced by establishclientsocket(), getsockethost(), and getsocketportnumber().

#define MAINVERSION   2

The main version of the socket interface.

Definition at line 37 of file defines.h.

Referenced by assembleBuffer(), and getmainversionnumber().

#define NDBLMAX   1024

Maximum number of double values that can be exchanged by Simulink.

To increase this value, change it in this file and in the files matlab/compile.m and matlab/exchangeDoublesWithSocket.m

Definition at line 33 of file defines.h.

Referenced by exchangeDoublesWithBSDSocket().