No..i need matlab code for clock..for example show me time date not show me for e.g like tic toc code..(you input m or n in to the matrix and build for loop and if after than when you run program show me time and date...you input first base time after than the loop beginning

@masoud: In the first part of the comment, you state, that you donot need thetic, toc behavior. Then you explain exactly the purpose oftic toc explicitly. Therefore I still do not understand what you want. Please post a small example what should appeare where. And please post this by editing the original question, not hidden in a list of comments. Thanks.

What does "i use other code to Matlab" mean? Do you mean that you have code that also doesn't work in someother language, such as C, Java, or Python? Do you want to write this in MATLAB or not?

hi my friends thanks for answer my question..Well I need a clock program to answer a few questions on the Thesis ...

my teacher say to me..if you write with Mathematica it's easier than ..but i don't write Mathematica ..i write only Matlab.. so i will program code for show me time and date with for and loop

for e.g

for [i=1,i=24

for [j=1,j=60

for [k=1,k=(computer speed to solve loop e.g 10000)

]

s=s+1

]

m=m+1

]

h=h+1

seems like that up.. i think you know what i need...?

We don't know what you want. Specifically, you said you searched the File Exchange like John suggested but found nothing. But when I search it (http://www.mathworks.com/matlabcentral/fileexchange/?utf8=%E2%9C%93&term=clock It brought up lots of clocks. Why don't any of them work? What about Thorsten's answer below, or Jan or Shameer's comments above using simple date and time strings and functions built into MATLAB? What's wrong with them?

You can also select a web site from the following list:

How to Get Best Site Performance

Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.