No License

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video

Highlights from

4.4 | 32 ratings Rate this file 9 Downloads (last 30 days) File Size: 132 KB File ID: #247 Version: 1.0




VFM allows Matlab to access video source devices such as frame-grabbers boards and USB cameras.

| Watch this File

File Information

VFM allows Matlab to access video source devices such as frame-grabbers boards and USB cameras. Currently VFM has been implemented only for Microsoft Windows 95, 98 and NT. On these platforms, VFM uses Microsoft's Video for Windows driver model, to access video source devices on the system. Up to ten such devices can be present on the system, and accessed simultaneously. VFM provides functionality to connect to these devices to modify their properties, and to capture still image sequences in a format suitable for Matlab.
This package has been built for and tested on Matlab v5.

For further information browse to:


This file inspired Image Aquisition.

MATLAB release MATLAB 5.2 (R10)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (39)
02 Dec 2012 Rohit Mishra

Nice program...!!!

13 Oct 2012 Ravi Mishra

i am geting the following error can anyone help me out pls!!!!

Error:"vfm.dll is not a win32 valid app"
Thank you!!

23 Feb 2011 rohit

rohit (view profile)

does not work with matlab 2008!

Comment only
05 Sep 2008 Wilmer Castillo


Windows XP SP 2 is installed in my computer. When I want to use the VFM command, The system opens a windows and this says: "vfm.dll is not a win32 valid app"

Can someone help me? Please!

15 Jun 2008 charles Tac

Great job! Thank you so much

28 Jan 2008 Venkata Potnuru

this matlab code was useful in Computer vision project.
I would like to know is this code can be used for PTZ cameras
so give reply to

18 Dec 2007 xavi dominguez

please help me........i don´t know where to unzip the files (in which folders?)which ones (compiled or source)...i´m getting an error which says vfm.m not found.
I would really appreciate your colaboration..I`m using matlab 2007

08 Dec 2007 Juan Rodriguez

Quisiera saber como insertar la ventana de reproducción a un entorno de GUI

Comment only
16 Jul 2007 Fadoua Fdiwa

Please help me,
Waiting for response.

Comment only
16 Jul 2007 Fadoua Fdiwa

hi, please i want to create an interface with guide matlab and i want to put the vfm viewer into my axe

07 May 2007 Ashwini Sajjan

Hey...vfm is really helpfull!!!!! I am using it for my project "Face Recognition".
But I am finding one difficulty in using VFM!!!! After grabbing one image the web cam (Sys video for Matlab) should turn off/close.... So what is the function to close the camera?????? It would be great if i resolve that problem.. So if'll have any idea then please help me!!!! Waiting for response!!!!

15 Jul 2006 Saurabh Gandhi

vfm has made life simpler.

27 Feb 2006 peyman ra

I want to use of vfm
do I need vfm.dll?
if yes send it or it's adress to me

06 Jan 2006 Ilyaz Nasrullah

Slow and buggy. YUCK

02 Jul 2005 rodrigo roncancio

28 Feb 2005 Alessandro Bellina

Great to know this exists! Problem though.. I find it very slow when capturing in a loop grab after grab... should I do this differently? I am trying to do some real-time DSP.

29 Dec 2004 Philipp Kratzer

Hi all! It's really a cool tool!
But i have the same problem as Sylvain Chaminade. Does anyone here have an idea how we could solve that problem?

would be glad about an answer! :)
Thx guys!

24 Nov 2004 William Smith

Looks like it is not working very well under matlab 7 R14 ? Anyone had trouble too ?

Comment only
16 Nov 2004 Sylvain Chaminade

excellent program! I use it for my researches! Really great except that I need 2 Webcams and I can't manage to switch from one to another automatically! Somebody know how I can do? Thanks.

13 Aug 2004 philip jianto

it's very good pprogram ! i used it for my project....can i used it for firewire camera?? anybody can help me?? contact my email please....

06 Aug 2004 Aloysius Jegan E.A.

Well and I need this type of projects very much. Thank You.

10 Jun 2004 John Salik

Excellent work. The programming interface is simple, but clear. No difficulties in installing this application. Very useful for those studying computer vision. I highly recommend this utility. To the author: THANK YOU.

29 Feb 2004 Yaser Yaser

Great Work!!

22 Jan 2004 Alvin Santeriam

Thanks for this great project... I use it for my Matlab project and it works great.. I'll be sure to put your credits in my project...

19 Jan 2004 Hossein Rezayi

Hi to all visual c++ programers
Thnaks a lot Mr. Pezeshkpoor due to this good project. I used it to communicate between my software and a CCD camera.
Best wishs

Comment only
27 Nov 2003 kh wong

I can now use this vfm to access usb camera inside matlab. However, I
don't know how to use it for a multiple webcam setup. The
camera source can be selected by the mouse but not matlab
commands, any insight into this matter?

12 Nov 2003 Ruud Vinke

I have the same problem: i used borland c++ to compile, but apparantly some files are missing. Does anybody know what to do?

Comment only
06 Oct 2003 Hossein Rezayi

Has complied anyone this project? I think some files of this project were changes or removed.
I couldn't complie it with Microsoft Visual C++6.
If it is possible please inform me.

22 Sep 2003 majid abdoli

28 Jun 2003 shahram jahromi

21 May 2003 Christopher Patscheck

This is a nice software package. However, driver issues with multiple sources of the same type cause stability issues to pop up. Also, the limitation of Win98 and Matlab v5 make this an undesirable package for future use.

30 Apr 2003 juvas velho

How can I connect two or more cameras and select one of them.

19 Apr 2003 henry rodriguez

como trabajar con los archivos vfm.
soy prinsipiante en este programa,cualquier ayuda me es muy importante

Comment only
04 Apr 2003 Amin Abdul-Fattah

It works fine

23 Nov 2002 David Pais

Over Windows XP works so cool!!!. It's a great minitoolbox.

21 Nov 2002 Michael Wunder

Pretty good,...
but unloading the dll seems odd.
>> clear all
causes Matlab to crash

17 Mar 2002 Berthold Kaeferstein

Really cool stuff!
Even works under W2k with my Firewire camera!

10 Dec 2001 Lou McNamee

THE VFM toolbox is an excellent tool for desktop image processing. The VFM toolbox provides simple access to any devices supported by the Video for Windows library (VFW.dll). I achived sampling rates up to 15 Hz for 640x480 RGB images. Note that Win32 platforms introduce signifcant jitter (~200 msec) when sampling images.

02 Oct 2001 Tamara Tichomirova

Very usefull programm! Thank you!

Contact us