It is recommended to use the C compiler available together with XCode. While a Fortran compiler is required by PottersWheel only to use the Fortran integrators, a C compiler must be available.
Matlab 64 bit 32 bit compiler mac os x#
Though the core of Mac OS X is a POSIX compliant operating system, usually no C or Fortran compiler is included. Continue with the platform-independent steps.If not, type 'pwCompileFortranIntegrators'. This should produce the message: "Invalid number of arguments". If a warning or error is issued, type 'help pwCompileFortranIntegrators' to receive further information on MEX compilation using Matlab. Type 'mex pwMexTest.c' and afterwards 'pwMexTest'.using 'cd /home/username/PottersWheelToolbox'. Set the current folder of Matlab to the PottersWheel toolbox folder, e.g.in /home/username/.matlab/R2008a/mexopts.sh. Start Matlab and type 'mex -setup' into the command window in order to select gcc as the MEX compiler.Install Matlab 7.1 or higher as a 32 or 64 bit version.When installing gcc/g++ make sure to select the developer version, often denoted by *-dev.) Since PottersWheel compiles dynamically generated C files, also the developer-libraries (*.a) are required. Please compare the version of the g++ compiler with the supported compilers by Matlab. using the command 'sudo apt-get install g++'. If a 'command not found' error appears, please install g++, e.g. Open a shell terminal window and type 'g++ -version'.