User`s guide
getxpcenv
14-53
14getxpcenv
Purpose List environment properties assigned to MATLAB variable
Syntax MATLAB Command Line
getxpcenv
Description Function to list environment properties. This function displays, in the
MATLAB Command Window, the property names, the current property
values, and the new property values set for the xPC Target environment.
The environment properties define communication between the host PC and
target PC, the type of C compiler and its location, and the type of target boot
floppy created during the setup process. You can view these properties using
the
getxpcenv function or the xPC Target Explorer. An understanding of the
environment properties will help you to correctly configure the xPC Target
environment.
Environment Property Description
Version
xPC Target version number. Read only.
CCompiler
Values are 'Watcom' and 'VisualC'. From the
xPC Target Explorer window compiler list,
select either
Watcom or VisualC.
CompilerPath
Value is a valid compiler root directory. Enter
the path where you installed a Watcom C/C++
or Microsoft Visual C/C++ compiler.
If the path is invalid or the directory does not
contain the compiler, an error message appears
when you use the function
updatexpcenv or
build a target application.