The instruction in this section are relevant in two cases
Currently we support compilation using (GNU) make for Linux/Unix
(which most likly also works for Mac OS X) and nmake (Microsoft
Visual C++) for Windows (tested only with Windows XP). The corresponding
Makefiles are lsm/csim/src/Makefile
and
lsm\csim\src\Makefile.win
.
mex -setup
at the
Matlab prompt. For more information on compiling MEX-files see the
MEX-files
Guide.
lsm/develop/reggen
)
for your platform.2
lsm/develop/reggen
configure; make;
for Linux/Unix(/Mac OS)
make.bat msvc
for Windows XP with MS Visual C++
lsm/develop/reggen/INSTALL
and try to fix
the build. In this case you will notice that reggen
is a modified
version of the well known tool doxygen.
csim/src
and run
make
for Linux/Unix(/Mac OS)
nmake -f Makefile.win
for Windows (XP)
We do not know whether this instructions work on systems other than Windows XP with MS Visual C++ and Linux with gcc (3.4 or higher). The External Interfaces/API section of the Mathworks web site and the Tech-Note 1601 contain valuable information about compiler requirements for compiling C++ MEX files.