From: Zia on 10 Mar 2010 02:13 Hi, I am new user of Matlab. so my questions are of very basic level :-). 1. how the signal values are defined? e.g. kLa = mxGetPr(PAR(S))[95]; this is one command in matlab c file. Now what i understand is i will get the value of kLa from PAR(s) file at indicis number 95? But in my files that's not the case. Can anybody explain? 2. if i want to see just for the above command what value i will get in result, is there any way to see that? More clearly just the value of kLa not the entire file. Thanks!
From: James Tursa on 10 Mar 2010 02:22 "Zia " <ziagemini(a)hotmail.com> wrote in message <hn7gpv$j4j$1(a)fred.mathworks.com>... > Hi, > I am new user of Matlab. so my questions are of very basic level :-). > 1. how the signal values are defined? e.g. > kLa = mxGetPr(PAR(S))[95]; > > this is one command in matlab c file. Now what i understand is i will get the value of kLa from PAR(s) file at indicis number 95? But in my files that's not the case. Can anybody explain? No. Not without seeing your source code. > 2. if i want to see just for the above command what value i will get in result, is there any way to see that? More clearly just the value of kLa not the entire file. If this is a mex file, then mexPrintf("kLa = %g\n",kLa); If this is an engine application, then printf("kLa = %g\n",kLa); James Tursa
|
Pages: 1 Prev: voice recognition/comparison Next: two's complement 8 bit data to decimal |