Path: news.mathworks.com!newsfeed-00.mathworks.com!news.kjsl.com!newsfeed.stanford.edu!newshub.sdsu.edu!flph200.ffdc.sbc.com!prodigy.net!flph199.ffdc.sbc.com!prodigy.com!flpi107.ffdc.sbc.com!flpi144.ffdc.sbc.com.POSTED!ffbda4aa!not-for-mail
Reply-To: "Nasser Abbasi" <nma@12000.org>
From: "Nasser Abbasi" <nma@12000.org>
Newsgroups: comp.soft-sys.matlab
References: <gubl8l$sp5$1@fred.mathworks.com>
Subject: Re: tic toc function
Lines: 28
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.3138
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3350
X-RFC2646: Format=Flowed; Original
Message-ID: <HWcOl.15544$jZ1.15512@flpi144.ffdc.sbc.com>
NNTP-Posting-Host: 75.37.151.32
X-Complaints-To: abuse@prodigy.net
X-Trace: flpi144.ffdc.sbc.com 1242127143 ST000 75.37.151.32 (Tue, 12 May 2009 07:19:03 EDT)
NNTP-Posting-Date: Tue, 12 May 2009 07:19:03 EDT
Organization: at&t http://my.att.net/
X-UserInfo1: [[PAPDCAOPUUS_DS\@^HJFP@AJYZTB\MV@BT]_MIJQR@EPIB_VUKAH_[MTX\IS[K[NGYJJFNOFZR_G[BUNTAOQLFE^TEHRPI]PZZRP_BMDSFQFL_]CBHXRWCMDCUZAZN@D_AKMNLEI]MWHCSXL^]NNC__CZFGSGHYYXWPFG@SCAVA]\FT\@B\RDGENSUQS^M
Date: Tue, 12 May 2009 04:19:46 -0700
Xref: news.mathworks.com comp.soft-sys.matlab:539207



"ching l" <chinglnc@hotmail.com> wrote in message 
news:gubl8l$sp5$1@fred.mathworks.com...
> Hello there,
>
> Is it possible just to get the "time" for the toc in seconds (i.e. 
> 23.105489)
> instead of the whole statement of  "Elapsed time is 23.105489 seconds".
>
> I need to have the value of the elapsed time in excel sheet, 
> unfortunately,
> excel sheet does not seem to read String/character.
>
> Please advise.

EDU>> clear all
EDU>> tic
EDU>> t=toc;
EDU>> t

t =

    2.8080


--Nasser