help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: timing a function


From: Ben Abbott
Subject: Re: timing a function
Date: Sat, 04 Dec 2010 21:02:44 -0500

On Dec 4, 2010, at 8:43 PM, Victor Carreto Pavon wrote:

> Is there a way to know how much time a function takes to return an  
> answer? Do I have to do it manually like until now, or is there a way  
> to have it print on screen as part of the answer.
> 
> Thank you
> 
> vic./


You can use "tic", "toc" to do that.

        tic; your_function(...); toc

Ben



reply via email to

[Prev in Thread] Current Thread [Next in Thread]