How To Use the MATLAB Compiler

From ECE Information Technology Services
Revision as of 09:30, 26 March 2013 by Roozbeh (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

The MATLAB compiler invokes the command cc to compile C code. The proper cc command is not in the standard path as the normal compiler on the system is gcc. There is a cc in /usr/ucb/cc but it is not Sun's C compiler. To make sure that Sun's C compiler is found by the Matlab compiler, add the following to your .cshrc.solaris file (for Solaris OS only):

set path=(/usr/local/applic/WorkShop6.2/SUNWspro/bin $path)