Skip to Main Content Skip to Search
Product Documentation

External Interfaces

Shared LibrariesAccess functions stored in external shared library files
JavaWork with objects constructed from Java API and third-party class packages
.NETWork with objects constructed from .NET assemblies
Component Object Model and ActiveXIntegrate COM components into your application
Web ServicesCommunicate between applications over a network using SOAP and WSDL
Serial Port DevicesRead and write to devices connected to your computer's serial port


See also MATLAB C/C++ and Fortran API Reference for functions you can use in external routines that interact with MATLAB programs and the data in MATLAB workspaces.

Shared Libraries

calllibCall function in shared library
libfunctionsReturn information on functions in shared library
libfunctionsviewView functions in shared library
libisloadedDetermine if shared library is loaded
libpointerCreate pointer object for use with shared libraries
libstructCreate structure pointer for use with shared libraries
loadlibraryLoad shared library into MATLAB software
unloadlibraryUnload shared library from memory

Java

classDetermine class of object
fieldnamesField names of structure, or public fields of object
importAdd package or class to current import list
inspectOpen Property Inspector
isaDetermine whether input is object of given class
isjavaDetermine whether input is Sun Java object
javaaddpathAdd entries to dynamic Java class path
javaArrayConstruct Java array
javachkGenerate error message based on Java feature support
javaclasspathGet and set Java class path
javaMethodInvoke Sun Java method
javaMethodEDTInvoke Java method from Event Dispatch Thread (EDT)
javaObjectInvoke Sun Java constructor
javaObjectEDTJava object constructor on Event Dispatch Thread (EDT)
javarmpathRemove entries from dynamic Java class path
methodsClass method names
methodsviewView class methods
usejavaDetermine whether Sun Java feature is supported in MATLAB software

.NET

BeginInvokeInitiate asynchronous .NET delegate call
bitandBit-wise AND
bitnotBit-wise NOT
bitorBit-wise OR
bitxorBit-wise XOR
cellCreate cell array
CombineConvenience function for static .NET System.Delegate Combine method
enableNETfromNetworkDriveEnable access to .NET commands from network drive
EndInvokeRetrieve result of asynchronous call initiated by .NET System.Delegate BeginInvoke method
NET.addAssemblyMake .NET assembly visible to MATLAB
NET.AssemblyMembers of .NET assembly
NET.convertArrayConvert numeric MATLAB array to .NET array
NET.createArrayArray for nonprimitive .NET types
NET.createGenericCreate instance of specialized .NET generic type
NET.disableAutoReleaseLock .NET object representing a RunTime Callable Wrapper (COM Wrapper) so that MATLAB does not release COM object
NET.enableAutoReleaseUnlock .NET object representing a RunTime Callable Wrapper (COM Wrapper) so that MATLAB releases COM object
NET.GenericClassRepresent parameterized generic type definitions
NET.invokeGenericMethodInvoke generic method of object
NET.NetException.NET exception
NET.setStaticPropertyStatic property or field name
RemoveConvenience function for static .NET System.Delegate Remove method
RemoveAllConvenience function for static .NET System.Delegate RemoveAll method

Component Object Model and ActiveX

actxcontrolCreate Microsoft ActiveX control in figure window
actxcontrollistList currently installed Microsoft ActiveX controls
actxcontrolselectCreate Microsoft ActiveX control from GUI
actxGetRunningServerHandle to running instance of Automation server
actxserverCreate COM server
addpropertyAdd custom property to COM object
delete (COM)Remove COM control or server
deletepropertyRemove custom property from COM object
enableserviceEnable, disable, or report status of MATLAB Automation server
eventlistenersList event handler functions associated with COM object events
events (COM)List of events COM object can trigger
ExecuteExecute MATLAB command in Automation server
Feval (COM)Evaluate MATLAB function in Automation server
fieldnamesField names of structure, or public fields of object
get (COM)Get property value from interface, or display properties
GetCharArrayCharacter array from Automation server
GetFullMatrixMatrix from Automation server workspace
GetVariableData from variable in Automation server workspace
GetWorkspaceDataData from Automation server workspace
inspectOpen Property Inspector
interfacesList custom interfaces exposed by COM server object
invokeInvoke method on COM object or interface, or display methods
isaDetermine whether input is object of given class
iscomDetermine whether input is COM or ActiveX object
iseventDetermine whether input is COM object event
isinterfaceDetermine whether input is COM interface
ismethod (COM)Determine whether input is COM object method
isprop (COM)Determine whether input is COM object property
load (COM)Initialize control object from file
MaximizeCommandWindowOpen Automation server window
methodsClass method names
methodsviewView class methods
MinimizeCommandWindowMinimize size of Automation server window
moveMove or resize control in parent window
propedit (COM)Open built-in property page for control
PutCharArrayStore character array in Automation server
PutFullMatrixMatrix in Automation server workspace
PutWorkspaceDataData in Automation server workspace
Quit (COM)Terminate MATLAB Automation server
registereventAssociate event handler for COM object event at run time
releaseRelease COM interface
save (COM)Serialize control object to file
set (COM)Set object or interface property to specified value
unregisteralleventsUnregister all event handlers associated with COM object events at run time
unregistereventUnregister event handler associated with COM object event at run time

Web Services

callSoapServiceSend SOAP message to endpoint
createClassFromWsdlCreate MATLAB class based on WSDL document
createSoapMessageCreate SOAP message to send to server
parseSoapResponseConvert response string from SOAP server into MATLAB types

Serial Port Devices

clear (serial)Remove serial port object from MATLAB workspace
delete (serial)Remove serial port object from memory
disp (serial)Serial port object summary information
fclose (serial)Disconnect serial port object from device
fgetl (serial)Read line of text from device and discard terminator
fgets (serial)Read line of text from device and include terminator
fopen (serial)Connect serial port object to device
fprintf (serial)Write text to device
fread (serial)Read binary data from device
fscanf (serial)Read data from device, and format as text
fwrite (serial)Write binary data to device
get (serial)Serial port object properties
instrcallbackEvent information when event occurs
instrfindRead serial port objects from memory to MATLAB workspace
instrfindallFind visible and hidden serial port objects
isvalid (serial)Determine whether serial port objects are valid
length (serial)Length of serial port object array
load (serial)Load serial port objects and variables into MATLAB workspace
readasyncRead data asynchronously from device
recordRecord data and event information to file
save (serial)Save serial port objects and variables to file
serialCreate serial port object
serialbreakSend break to device connected to serial port
set (serial)Configure or display serial port object properties
size (serial)Size of serial port object array
stopasyncStop asynchronous read and write operations
  


Free MATLAB Interactive Kit

Explore how to use MATLAB to make advancements in engineering and science.


Download free kit

Trials Available

Try the latest version of MATLAB and other MathWorks products.


Get trial software
 © 1984-2012- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS