Differences

This shows you the differences between two versions of the page.

Link to this comparison view

reference:peercompile [2018/08/23 14:43] (current)
Line 1: Line 1:
 +=====  PEERCOMPILE =====
 +
 +Note that this reference documentation is identical to the help that is displayed in MATLAB when you type "help peercompile"​.
 +
 +<​html><​pre>​
 +  <a href=/​reference/​peercompile><​font color=green>​PEERCOMPILE</​font></​a> ​ This script/​function is used for compiling and linking the '​peer'​ MEX file.
 + 
 +  On Linux and MacOS X, you should just be able to call this function without arguments.
 + 
 +  On Windows, you need to select a compiler using one of the following options:
 +    compile('​bcb'​) ​  - Borland C++ Builder
 +    compile('​bcc55'​) - Borland C++ 5.5 (free command line tools)
 +    compile('​mingw'​) - MinGW (GCC port without cygwin dependency)
 +    compile('​vc'​) ​   - Visual Studio C++ 2005 or 2008
 + 
 +  Please note that this script does NOT set up your MEX environment for you, so in case
 +  you haven'​t selected a C compiler on Windows yet, you need to type 'mex -setup'​ first
 +  to choose either the Borland or Microsoft compiler. If you want to use MinGW, you also
 +  need to install Gnumex (http://​gnumex.sourceforget.net),​ which comes with its own
 +  procedure for setting up the MEX environment.
 +</​pre></​html>​