External Interfaces


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 DataDescribes techniques for importing data to and exporting data from the MATLAB® workspace using MAT-files.
MATLAB® Interface to Generic DLLsDescribes how to call functions in external, shared libraries (.dll, .so, or .dylib files) from MATLAB® software.
Calling C and Fortran Programs from MATLAB® Command LineDescribes how to build C and Fortran subroutines into callable MEX files.
Creating C Language MEX-FilesShows the components of a C source MEX-file and provides specific examples of MEX-files written in C.
Creating Fortran MEX-FilesShows 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.
Calling Sun™ Java™ Commands from MATLAB® Command Line Describes how to use the MATLAB® interface to Java™ classes and objects.
COM Support for MATLAB® SoftwareDescribes how to use the Microsoft® Component Object Model (COM) with MATLAB® software.
MATLAB® COM Client SupportHow to create COM objects and use properties, methods, and events
MATLAB® COM Automation Server SupportUsing MATLAB® as a COM Automation server
Web Services in MATLAB® ApplicationsDescribes MATLAB® support for the Simple Object Access Protocol (SOAP) and Web Services Description Language (WSDL) web service technologies.
Serial Port I/ODescribes MATLAB® software direct access to peripheral devices such as modems, printers, and scientific instruments that you connect to your computer's serial port.
  


 © 1984-2008- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS