I am using the CMU DCAM driver 6.3.0.0 (1394Camera.dll) with BASLER A601fc DCAM compliant 1394 camera. When I try to create a video input object using the following function:
vidobj =videoinput('dcam')
MATLAB issues the following segmentation violation:
[0] imaqmex.dll:private: void __thiscall IMAQRoot::initTriggerStatus(void)(0x03512e50, 0, 0x0e336a70, 3) + 120 bytes [1] udd_mi.dll:_ouConstructObjectWithErrorTrap(0x01219f28, 3, 0x00cdd028, 0x00cdccfc) + 507 bytes [2] udd_mi.dll:_ouConstructObject(0, 3, 0x00cdd028, 0x00cdcfcc) + 152 bytes [3] m_dispatcher.dll:public: virtual void __thiscall Mfh_opaque_constructor::dispatch_mf(int,struct mxArray_tag * *,int,struct mxArray_tag * *)(1, 0x00cdcfc8, 3, 0x00cdd028) + 102 bytes [4] m_dispatcher.dll:public: virtual void __thiscall Mfh_MATLAB_fn::dispatch_fh(int,struct mxArray_tag * *,int,struct mxArray_tag * *)(1, 0x00cdcfc8, 3, 0x00cdd028) + 200 bytes [5] m_interpreter.dll:int __cdecl mdDispatch(int,char const *,int,struct mxArray_tag * *,int,struct mxArray_tag * *,class Mfh_MATLAB_fn * *)(562, 0x0e3a3a74 "imaq.imaq_dcam1_1", 1, 0x00cdcfc8) + 88 bytes [6] m_interpreter.dll:_inDispatchFromStack(562, 0x0e3a3a74 "imaq.imaq_dcam1_1", 1, 3) + 801 bytes <snip>
Best Answer