Specifications

sharpVISION™ Camera
sharpVISION VISION SDK
87
7
7
.
.
s
s
h
h
a
a
r
r
p
p
V
V
I
I
S
S
I
I
O
O
N
N
M
M
A
A
T
T
L
L
A
A
B
B
I
I
n
n
t
t
e
e
r
r
f
f
a
a
c
c
e
e
R
R
e
e
f
f
e
e
r
r
e
e
n
n
c
c
e
e
7.1. Overview
The sharpVISION™ MATLAB™ Interface allows to acquire images and to control the
sharpVISION digital cameras from inside the Mathworks™ MATLAB application. The
interface works with MATLAB 6.5 and greater, on Windows 2000/XP Professional. Windows
NT is not supported.
The sharpVISION™ MATLAB™ Interface includes the ‘MEX’ file for controlling the camera
(packaged in a library called sharpML.dll) and a few example .m files to show how to use the
interface.
Every routine may be called from a MATLAB™ script file in the form:
[output1, output2 ...] = SharpML [input1, input2 …]
The number of inputs and outputs depends on the function selected. In any function call
input1 is the name of the requested command (for example, ‘IdtSvEnumCameras’) and
output1 is the result of the operation (0 = SUCCESS, otherwise ERROR).
More details on the commands syntax may be retrieved by typing “help SharpML” at MATLAB
command prompt or opening the file SharpML.m with a text editor.
The MATLAB interface reflects the SDK Application Program Interface (see sharpVISION
SDK reference section) with a few exceptions. The MATLAB interface and examples are
listed below.
The interface is supported in Windows version of sharpVISION SDK only.