Products & Services Solutions Academia Support User Community Company

Learn more about xPC Target   

xPC Target API versus xPC Target COM API

The xPC Target API and xPC Target COM API interfaces provide the same functionality for you to write custom applications. There is no difference in performance or functionality between applications written against either library. Note that the C API is threadsafe. The COM API is not threadsafe.

The xPC Target API DLL consists of C functions that you can incorporate into any high-level language application. The xPC Target COM API consists of a suite of interfaces that you can reference while building a graphic user interface (GUI) application. You can incorporate these interfaces using programming environments that work with COM objects. A user can use an application written through either interface to load, run, and monitor an xPC Target application without interacting with MATLAB®. With the xPC Target API, you write the application in a high-level language (such as C, C++, or Java) that works with an xPC Target application; this option requires that you are an experienced programmer. With xPC Target COM API, you use a graphical development environment to create a GUI that works with an xPC Target application. Designed to work with Microsoft® COM, the xPC Target COM API conforms to the component object model standard established by Microsoft.

The xPC Target API is distributed with two dynamic link libraries (DLLs) that make it easier to integrate with various development tools, tailoring the development environment to your needs:

The following sections describe each library:

  


Related Products & Applications

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.

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