5.1 Supported Compilers

Our manual may not be current since new versions of compilers are released more often than new versions of our manuals.

The following are what we support:

386-MATLAB (v3.5) with SIMULINK under Windows:

Microsoft C 6.0

Watcom C 8.5, 9.0

All compilers supported by 386-MATLAB v3.5x (see below)

386-MATLAB 3.5x:

Metaware High C 2.3

Metaware High C 2.4 returns errors regarding undefined symbols, and multiple entry points defined during linking, but MEX-files work correctly except for fprintf which doesn't treat \n correctly.

Microway NDP FORTRAN 2.1

Microway NDP FORTRAN 3.2 returns errors regarding undefined symbols, and multiple entry points defined during linking, but MEX-files work.

Microway NDP FORTRAN 4.0x returns errors regarding undefined symbols, and multiple entry points defined during linking, but MEX-files work.

PC/AT-MATLAB v3.5x:

Microsoft C 6.0, 7.0

Microsoft FORTRAN 5.0 and 5.1

Borland Turbo C++ v1.0

Borland Turbo C++ v2.0

Borland Turbo C++ v3.0 (A modified TCMEX.BAT file is available )

MAC v3.5x:

Think C 4.0

Think C 5.0 - some older shipments of v3.5 MATLAB may need updated MEX scripts (1)

MPW C 3.1

MPW C 3.2 (a modified CMEX file is in the tech support software library)

Language Systems FORTRAN 2.1

Language Systems FORTRAN 3.0 - some older shipments of MATLAB v3.5 may need updated MEX scripts (1)

Absoft MacFORTRAN II 2.x

Absoft MacFORTRAN II 3.1 - some older shipments of MATLAB v3.5 may need updated MEX scripts (1)

MATLAB 4.0 for Windows (386 and 486 platforms):

Metaware High C 3.03

Watcom C 8.5, 9.0 (does NOT need the Phar Lap Linker)

Microway NDP FORTRAN 4.0.2

Microsoft C 7.0

Microsoft Visual C++

Microsoft C++ 7.0

Microsoft C 8.0 (MATLAB for Windows v4.0 supports Microsoft Visual C++ (C 8.0) using the same settings as Microsoft C/C++ 7.0. When you set the location of the SDK in the CMEX.BAT file, set the SDK_ROOT to the location where Visual C++ has been installed.)

MATLAB 4.2 for Windows:

Borland C++ 3.1, 4.0

Microsoft Visual C++ 1.0 (version 1.5 should also work, but it hasn't been tested)

Microsoft C version 8 (version 7 may also be supported-but not official yet)

Metaware High C 3.1

Watcom 9.5 (9.0 is NOT supported)

Microway NDP Fortran V4.4

PharLap 5.0

NOTE: There will be no support for prior versions of these compilers in MATLAB v4.x.

Phar Lap Linker version 4.1 or above is also required for non-Microsoft compilers. Also, Microsoft Powerstation FORTRAN will not be supported until v5.

We do not have any plans to support Microsoft FORTRAN v5.1 since it is not a 32-bit compiler.

MAC V4.1:

Think C 5.0 + 6.0

MPW C 3.2

Language Systems FORTRAN 3.0

MacFORTRAN II 3.1 (ABSOFT) This is MPW based.

NOTE: There will be no support for prior versions of these compilers in MATLAB v4.1.

(1) Earlier versions of v3.5 Macintosh MATLAB were released before these compiler versions were released. Current versions of MATLAB as well as SIMULINK v1.2 should have the updated versions of the MEX scripts.

If library names have changed, the old names can be changed by either referring to their compiler manual for name changes or calling the compiler manufacturer directly. The user should then try compiling. Ignore any error messages, but check whether an actual .MX3 file was created. If a .MX3 file is created, try to run the MEX-file. If the MEX-file does not run, report it to MathWorks technical support. We will look into supporting the compiler in a future MATLAB release. Remember, however, that no future versions are planned for MATLAB v3.5.

Following are phone numbers of the companies which make the compilers we support:

Absoft
2781 Bond St
Rochester Hills, MI 48309
Phone: 313-853-0095
Apple Computer
Phone: 408-996-1010
Language Systems
441 Carlisle Dr
Herndon, VA 22070
Phone: 703-478-0181
Metaware
2161 Delaware Ave
Santa Cruz, CA 95060
Phone: 408-429-META
Phar Lap (for NDP FORTRAN)
Fax: 617-876-2972
Phone: 617-661-1510
email: tech-support@pharlap.com
Watcom
415 Phillip Street
Waterloo, Ontario
CANADA N2L 3X2
Phone: 519-886-3700
Borland
1800 Green Hills Road
P.O. Box 660001
Scotts Valley, CA 95067-0001
Phone: 408-438-5300
Microsoft:
For the name of your nearest Microsoft languages
reseller, call Microsoft Sales (from 6:30AM to
5:30 PM Pacific time) and ask for End User Sales.
MS Sales Phone: 800-426-9400
Note that both the Borland and Microsoft compilers can be purchased at most software stores, and the easiest way to get information about these compilers is via your local software retailer.

(c) Copyright 1994 by The MathWorks, Inc.