From: Alex Pereira on 20 Jul 2010 23:01 Hi All, I'm trying to run an application that I've compiled using mcc. I've reduced the function to show the exactly line problem, and show it bellow. function a = testm(b) fo=fitoptions('method','SmoothingSpline','SmoothingParam',0.60000000000000000555); a=0; end I can compile it properly with this command mcc -W cpplib:libtestm -T link:lib testm. When I run, it gives the following error message: **** {??? Undefined function or method 'strmatch' for input arguments of type 'char'. Error in ==> fitoptions at 134 Error in ==> testm at 2 } Undefined function or method 'strmatch' for input arguments of type 'char'. Error in =>testm.m at 2 **** Does anyone knows how to fix it? Thank you very much, Alex
From: Alex Pereira on 21 Jul 2010 17:18 "Alex Pereira" <alexlopespereira(a)gmail.com> wrote in message <i25nth$7jj$1(a)fred.mathworks.com>... > Hi All, > I'm trying to run an application that I've compiled using mcc. > I've reduced the function to show the exactly line problem, and show it bellow. > > function a = testm(b) > fo=fitoptions('method','SmoothingSpline','SmoothingParam',0.60000000000000000555); > a=0; > end > > I can compile it properly with this command mcc -W cpplib:libtestm -T link:lib testm. When I run, it gives the following error message: > > **** > {??? Undefined function or method 'strmatch' for input arguments of type 'char'. > Error in ==> fitoptions at 134 > Error in ==> testm at 2 > } > Undefined function or method 'strmatch' for input arguments of type 'char'. > Error in =>testm.m at 2 > **** > > Does anyone knows how to fix it? > Thank you very much, > Alex Could it be because I could not use the LD_LIBRARY_PATH environmental variable ? Instead, I copied the .so files to the linux default library path. Thanks, Alex
|
Pages: 1 Prev: xPC R2009a: overflow range error in pow Next: Removing scaling label from axis? |