Products & Services Solutions Academia Support User Community Company

Learn more about xPC Target   

What Is xPC Target API?

The xPC Target API consists of a series of C functions that you can call from a C or C++ application. These functions enable you to

The xpcapi.dll file contains the xPC Target API dynamic link library. It contains over 90 functions that enable run-time linking rather than static linking at compile time. The functions provide all the information and accessibility needed to access the target application. Accessing the xPC Target API DLL is beneficial when you are building applications using development environments such as Microsoft Foundation Class Library/Active Template Library (MFC/ATL), DLL, Win32 (non-MFS) program and DLL, and console programs integrating with third-party product APIs (for example, Altia).

All custom xPC Target API applications must link with the xpcapi.dll file (xPC API DLL). Also associated with the dynamic link library is the xpcinitfree.c file. This file contains functions that load and unload the xPC Target API. You must build this file along with the custom xPC Target API application.

The documentation reflects the fact that the API is written in the C programming language. However, the API functions are usable from other languages and applications, such as C++ and Java.

The following chapters describe the xPC Target API in more detail:

  


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