Prev: Local Minimum Solution
Next: Excel COM server
From: Fraser Dickson on 2 Mar 2010 06:48 Hi i have a mex file that has the following line in it currentcell = 1* *(y+((rows*counter1) + counter2); it is called quite a few times 200K plus can anyone tell me what the 1* part signifies ( i built my mex file using matlab example files so i have included it but i dont know what it does) as my code runs far slower when i take it off (yet still correctly) why is this the case? to me it looks like its a multiplier of 1 but im pretty sure im wrong ! Cheers
From: James Tursa on 2 Mar 2010 09:23 "Fraser Dickson" <fraser.dickson(a)gmail.com> wrote in message <hmittk$rb5$1(a)fred.mathworks.com>... > Hi i have a mex file that has the following line in it > > currentcell = 1* *(y+((rows*counter1) + counter2); > > it is called quite a few times 200K plus > > can anyone tell me what the 1* part signifies ( i built my mex file using matlab example files so i have included it but i dont know what it does) as my code runs far slower when i take it off (yet still correctly) why is this the case? to me it looks like its a multiplier of 1 but im pretty sure im wrong ! > > Cheers What are the declarations for the other variables, in particular y? James Tursa
|
Pages: 1 Prev: Local Minimum Solution Next: Excel COM server |