3

I have to work with the image acquisition toolbox in Matlab and I find it quite disturbing to always change to windows. So I installed Matlab 2010b on my Linux machine (Arch, Kernel 39). Skype & friends work perfectly with my camera (using uvcvideo/video4linux2) but Matlab doesn't. It is a built-in laptop camera and I (my user) am in the video group.

Matlab says

>> imaqhwinfo ans = InstalledAdaptors: {} MATLABVersion: '7.11 (R2010b)' ToolboxName: 'Image Acquisition Toolbox' ToolboxVersion: '4.0 (R2010b)' 

Googeling just told me, that the toolbox should support video4linux2 and that I should not run into problems if the camera can be used by other software.

It might be important, that I use Matlab 64 bit while "lsmod | grep v4l2" says:

v4l2_compat_ioctl32 8364 1 videodev 

Does this mean that my video4linux2 driver is 32 bit?

3
  • compat_ioctl suggests that the driver is in fact for 64-bit kernels to accommodate 32-bit programs, so (if that is indeed what the name means here) it's just irrelevant. It shouldn't matter that Matlab is 64-bit, but the driver could be buggy. Can you check that the webcam with a 64-bit application (cheese, webcam, motion, whatever you have convenient)? Commented Jun 21, 2011 at 20:43
  • 1
    cheese works. As does skype. Commented Jun 21, 2011 at 22:22
  • Same exact situation here with R2016a. cheese works, skype works, matlab doesn't. Commented Feb 25, 2017 at 22:28

0

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.