Thread Subject:
VCAPG2 calling

Subject: VCAPG2 calling

From: Rommel

Date: 20 Oct, 2010 21:53:04

Message: 1 of 4

Hello Everyone,

I am having a problem using a dll called vcapg2. I tried directly calling this dll from the command window, however, matlab won't recognize the dll that I call. It keeps giving me this message

??? Undefined function or variable 'vcapg2'.
 
I have already made sure that I am using the correct path and the dll appears in the CurrentFolder window. I can't use MATLAB's loadlibrary function because the dll doesn't have a header file. I do have however the C++ version of the dll but I don't know how to use it. Any help would greatly be appreciated.

Subject: VCAPG2 calling

From: venkat

Date: 5 Jan, 2011 06:12:23

Message: 2 of 4

in matlab m-file write program like this
clear all;
cardnum=vcapg2; % you will get available video capture devices number usually 1
close all;figure(1);set(1,'doublebuffer','on');
% capture mode
for i=1:100
aa=vcapg2;% grabbing camera image.
subplot(2,1,1);imshow(aa);subplot(2,1,2);imshow(diff(double(aa(:,:,1)),[]));
drawnow;% this is important to view realtime.
end


you definitely execte the program

Subject: VCAPG2 calling

From: Heinz-Georg Fehn

Date: 6 Jan, 2011 23:04:07

Message: 3 of 4

Hi,

are you shure that you have a correct version of vcapg2 for your matlab version?. Older versions of vcapg2 with extension .dll may not run use matlab version 2006b or later. The version must have extension like mex32 (mex64) for 32bit (64bit) matlab version. In total vcapg2 is a directshow application which can be linked for matlab version having the source code. If you sent me an email I can provide the lastest (tested) vcapg2 version for matlab 32 and 64 bit up to matlabversion 2010b.

best regards

Heinz-Georg Fehn


"Rommel " <rommel.alonzo@mavs.uta.edu> wrote in message <i9noc0$s8c$1@fred.mathworks.com>...
> Hello Everyone,
>
> I am having a problem using a dll called vcapg2. I tried directly calling this dll from the command window, however, matlab won't recognize the dll that I call. It keeps giving me this message
>
> ??? Undefined function or variable 'vcapg2'.
>
> I have already made sure that I am using the correct path and the dll appears in the CurrentFolder window. I can't use MATLAB's loadlibrary function because the dll doesn't have a header file. I do have however the C++ version of the dll but I don't know how to use it. Any help would greatly be appreciated.

Subject: VCAPG2 calling

From: ela

Date: 21 Jul, 2012 17:26:18

Message: 4 of 4

"Heinz-Georg Fehn" <hgfehn@gmx.de> wrote in message <ig5hp7$m45$1@fred.mathworks.com>...
> Hi,
>
> are you shure that you have a correct version of vcapg2 for your matlab version?. Older versions of vcapg2 with extension .dll may not run use matlab version 2006b or later. The version must have extension like mex32 (mex64) for 32bit (64bit) matlab version. In total vcapg2 is a directshow application which can be linked for matlab version having the source code. If you sent me an email I can provide the lastest (tested) vcapg2 version for matlab 32 and 64 bit up to matlabversion 2010b.
>
> best regards
>
> Heinz-Georg Fehn
>
Hi Heinz,
Can you send me the latest version for matlab 64 bit and version 2012a?
Best,

Tags for this Thread

Everyone's Tags:

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Tag Activity for This Thread
Tag Applied By Date/Time
64 bit ela 21 Jul, 2012 13:29:13
vcapg2 ela 21 Jul, 2012 13:29:13
vcapg2 Rommel 20 Oct, 2010 17:54:38
directly calling d... Rommel 20 Oct, 2010 17:54:38
dll Rommel 20 Oct, 2010 17:54:37
rssFeed for this Thread

Contact us