|
InstallationGuide
IntroductionMexCGNS is easy to install. Simply download the gzipped tar file mexcgns3.tgz, untar it into your work directory (e.g., using the command tar zxvf mexcgns3.tgz on UNIX), and then run the startup_mexcgns script in MATLAB/Octave. You need to run the startup_mexcgns script every time you launch MATLAB/Octave. It adds the mexCGNS directories into the path. When you run startup_mexcgns for the first time, the script automatically compiles the MEX functions and performs some tests to make sure mexCGNS is installed correctly. Installing mexCGNS on UNIXMexCGNS should work for MATLAB/Octave on most UNIX systems, including Linux, Mac OS X, Solaris, etc. Simply run the startup_mexcgns script. Installing mexCGNS on Microsoft WindowsOn Microsoft Windows, mexCGNS requires MATLAB and Microsoft Visual C++ 2008. You need to install Visual C++. For 64-bit Windows XP, see Mathworks instruction about how to install Visual C++. After installing Visual C++, just run mex -setup in MATLAB to choose Visual C++ instead of LCC, and then build mexCGNS using startup_mexcgns. MexCGNS does not work with LCC that comes with MATLAB (as of LCC 2.4.1). Xiangmin Jiao |