[Scilab-users] tic toc time

Paul CARRICO paul.carrico at free.fr
Sun May 25 12:27:08 CEST 2014


toc() 
 i.e with () 
  instead of toc

 

Paul

 

De : users [mailto:users-bounces at lists.scilab.org] De la part de Claus
Futtrup
Envoyé : dimanche 25 mai 2014 12:21
À : International users mailing list for Scilab.
Objet : [Scilab-users] tic toc time

 

Hi there

Converting from matlab to scilab is finished, but the matlab code contains a
tic toc (begin/end of script timer).

The Scilab code doesn't display anything.

I thought I'd go like this (based on example from the Scilab manual):

tic();
realtimeinit(1);
realtime(0);
realtime(10);
t = toc;
printf("Time (tic-toc) %f \n",t);

That doesn't work.

How do I make Scilab display the registered time ???

/Claus



  _____  


 <http://www.avast.com/> 

This email is free from viruses and malware because avast! Antivirus
<http://www.avast.com/>  protection is active. 

 



---
Ce courrier électronique ne contient aucun virus ou logiciel malveillant parce que la protection avast! Antivirus est active.
http://www.avast.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20140525/2c52b651/attachment.htm>


More information about the users mailing list