How To Use the MATLAB Compiler

From ECE Information Technology Services
Revision as of 16:17, 15 May 2009 by Jazminl (talk | contribs) (New Page)
(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:

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