User`s guide

Setting up a Build Environment on Windows Systems
2-3
Header File and
Libraries
Location
Adaptor kit header
files
$(MATLAB)\toolbox\imaq\imaqadaptors\kit\include
a
Image Acquisition
Toolbox engine
library
$(MATLAB)\toolbox\imaq\imaqadaptors\kit\lib\<ARCH>\release
\imaqmex.lib
a. MATLAB is an environment variable that contains the name of your MATLAB installation folder.
For information about defining environment variables, see “Using Environment
Variables” on page 2-3.)
To learn how to specify header files in Microsoft Visual C++, see “Specifying Header
Files in Microsoft Visual C++ 2010” on page 2-8.
To learn how to specify the libraries in Microsoft Visual C++, see “Specifying Libraries
and Library Paths” on page 2-10.
Using Environment Variables
To create an environment variable on your Windows
®
7 system that specifies your
MATLAB installation folder, follow this procedure:
1
Open the System Properties dialog box. One way to do this on a Windows 7 system
is to click the Start menu and then right-click the Computer option and select
Properties.
2
In the System Control Panel, click the Advanced system settings option.
3
On the Advanced tab, click the Environment Variables button.
4
In the Environment Variables dialog box, in the User variables section, click New
to create an environment variable.
5
In the New User Variable dialog box, assign the name MATLAB to the variable and
set the value of the variable to your MATLAB installation folder path. Click OK.
6
Click OK in the Environment Variables dialog box.
7
Click OK in the System Properties dialog box.
Note If Microsoft Visual C++ is running when you create this variable, you must
restart it.