Prev: xlswrite?
Next: Read data from txt
From: Andy on 6 Aug 2010 12:23 "Oleg Komarov" <oleg.komarovRemove.this(a)hotmail.it> wrote in message <i3hc6o$570$1(a)fred.mathworks.com>... > "Matt J " <mattjacREMOVE(a)THISieee.spam> wrote in message <i3hak5$no8$1(a)fred.mathworks.com>... > > Learn to use inputParser > > > > http://www.mathworks.de/access/helpdesk/help/techdoc/matlab_prog/bresuxt-11.html > > Do you REALLY use input parser? > Isn't it slow? > > Oleg Well, it's not that slow. If you intend to call the function using inputParser thousands of times (say, in a loop) and the overhead of inputParser is an issue, then you should probably write a special version of your function that doesn't need such flexibility of the inputs. But in general, do you have any code showing that inputParser adds an unreasonable time to a function not called in a loop? |