From: nop on 16 Jan 2010 06:54 I used matlab in my university which is version 2007a I wrote m file with bwlabel function inside. I complie it with deploytool to make c++ lib , and call from vs2005, and it was build successfully, however it has run time error. when calling bwlabel1, it wrote in command prompt screen :undefined function or method 'bwlabel1' for input argument of 'double' error in bwlabel at line 65 bool data [] = { 1 0 0 1 ....} mwArray Dat(5, 8, mxLOGICAL_CLASS,mxREAL); Dat.SetLogicalData(data,40); please help me to deal with this, I dont know how to make another move. I dont have the proble with simply fucntion like magic.m
|
Pages: 1 Prev: Storing data in less than 8 bits Next: convert m file (bwlabel inside) to c++ |