| Products & Services | Industries | Academia | Support | User Community | Company |
| Download Product Updates | | | Get Pricing | | | Trial Software |
| Documentation → MATLAB |
| Contents | Index |
| Learn more about MATLAB |
MATLAB® software provides interfaces to external routines written in other programming languages, data that needs to be shared with external routines, clients or servers communicating via Microsoft® Component Object Model (COM), and peripheral devices that communicate directly with MATLAB software. Much of this interface capability was formerly referred to under the title of the MATLAB Application Program Interface, or API.
This section introduces MATLAB external interfaces. It also contains numerous C and Fortran examples that highlight this functionality. The topics included are:
| Importing and Exporting MAT-Files from C and Fortran Programs | Describes techniques for importing data to and exporting data from the MATLAB workspace using MAT-files. |
| MATLAB Interface to Shared Libraries | How to call functions in external, shared libraries from MATLAB software. |
| Calling C and Fortran Programs from MATLAB Command Line | Describes how to build C and Fortran subroutines into callable MEX files. |
| Creating C Language MEX-Files | Shows the components of a C source MEX-file and provides specific examples of MEX-files written in C. |
| Creating Fortran MEX-Files | Shows the components of a Fortran source MEX-file and provides specific examples of MEX-files written in Fortran. |
| Calling MATLAB Software from C and Fortran Programs | Discusses how to use the MATLAB engine library to call MATLAB software from C and Fortran programs. |
| Using Sun Java Classes in MATLAB Software | Describes how to use the MATLAB interface to Java classes and objects. |
| MATLAB Interface to .NET Framework | Describes how to use the Microsoft .NET Framework with MATLAB software. |
| COM Support for MATLAB Software | Describes how to use the Microsoft Component Object Model (COM) with MATLAB software. |
| MATLAB COM Client Support | How to create COM objects and use properties, methods, and events |
| MATLAB COM Automation Server Support | Using MATLAB as a COM Automation server |
| Using Web Services with MATLAB | Describes MATLAB support for the Simple Object Access Protocol (SOAP) and Web Services Description Language (WSDL) web service technologies. |
| Serial Port I/O | Describes MATLAB software direct access to peripheral devices such as modems, printers, and scientific instruments that you connect to your computer's serial port. |
| Importing and Exporting MAT-Files from C and Fortran Programs | ![]() |

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.
| © 1984-2009- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |