Thread Subject: Need help on MEX-file error compiling Image Acquisition Toolbox

Subject: Need help on MEX-file error compiling Image Acquisition Toolbox

From: Tim

Date: 10 Mar, 2010 02:43:05

Message: 1 of 1

Firstly, I admit that I posted on this a while ago. I'm re-posting because it got long and disorganised, and I wanted to make a more succinct post.

I find that when I use and compile some of the functions from the Image Acquisition Toolbox, I get an error, but not all functions. For example, IMAQFIND works, but IMAQHWINFO doesn’t. I wrote an M file with just:
a = IMAQHWINFO
and I get an error on execution.

The error is:
??? Error using ==> videoinput.videoinput at 90
Invalid MEX-file 'C:\DOCUME~1\avu\LOCALS~1\Temp\avu\mcrCache7.9\Select0\toolbox\imaq\imaq\imaqmex.mexw32': The specified module could not be found.

.

MATLAB:invalidMEXFile

I have checked the list of deployable functions for my version of Matlab (R2008b) and all of the Image Acquisition Toolbox except IMAQTOOL is on the list, so that doesn’t seem to be it.

I have checked the location in the error, and the MEX file is there.

The code runs on the local machine (Matlab machine) without error, after compiling. It won’t run on any other machine. Other programs compile and run fine. I don’t believe that any drivers are required, or at least, not that I know of.

I noted that others have had a similar problem, but no solution has ever been posted that I can find.

Any help would be appreciated!
Thanks,
Tim

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
image acquisition Tim 9 Mar, 2010 21:44:06
video Tim 9 Mar, 2010 21:44:06
mexfile Tim 9 Mar, 2010 21:44:06
error Tim 9 Mar, 2010 21:44:06
compiler Tim 9 Mar, 2010 21:44:06
rssFeed for this Thread

Contact us at files@mathworks.com