I am using the Image Acquisition Toolbox with MATLAB 7.0.1 (R14SP1). After I open my video input object, I changed its 'ReturnedColorSpace' property. Then I tried to evaluate an incomplete command such as :
corr2(frame1,fra
where 'frame1' is the image returned from my SNAPSHOT function. At this point, MATLAB crashed with the following error message:
------------------------------------------------------------------------ Assertion detected at Tue Oct 12 14:14:57 2004 ------------------------------------------------------------------------ Assertion failed: hdr->in_use != 0, at line 736 of file ".\memmgr\memcache.cpp". Attempt to free previously freed memory Stack Trace: [0] bridge.dll:_mnSignalHandler(0xffffffff, 0, 0, 0x79c99b80) + 303 bytes [1] bridge.dll:void __cdecl ThrowAssertion(void)(0x013c6a88, 0x78775a68, 0x65737341, 0x6f697472) + 164 bytes [2] bridge.dll:void __cdecl MATLABAssertFcn(char const *,char const *,int,char const *)(0x7874d4ec ": hdr->in_use != 0,", 0x7874d328 ".\memmgr\memcache.cpp", 736, 0x7874c590 "Attempt to free previously freed..") + 110 bytes ...
Best Answer