<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Hi there<br>
<br>
Converting from matlab to scilab is finished, but the matlab code
contains a tic toc (begin/end of script timer).<br>
<br>
The Scilab code doesn't display anything.<br>
<br>
I thought I'd go like this (based on example from the Scilab
manual):<br>
<br>
<span style="color:rgb(174,92,176);text-decoration:underline;">tic</span><span
style="color:rgb(74,85,219);">(</span><span
style="color:rgb(74,85,219);">)</span><span
style="color:rgb(0,0,0);">;</span><br>
<span style="color:rgb(50,185,185);">realtimeinit</span><span
style="color:rgb(74,85,219);">(</span><span
style="color:rgb(188,143,143);">1</span><span
style="color:rgb(74,85,219);">)</span><span
style="color:rgb(0,0,0);">;</span><br>
<span style="color:rgb(50,185,185);">realtime</span><span
style="color:rgb(74,85,219);">(</span><span
style="color:rgb(188,143,143);">0</span><span
style="color:rgb(74,85,219);">)</span><span
style="color:rgb(0,0,0);">;</span><br>
<span style="color:rgb(50,185,185);">realtime</span><span
style="color:rgb(74,85,219);">(</span><span
style="color:rgb(188,143,143);">10</span><span
style="color:rgb(74,85,219);">)</span><span
style="color:rgb(0,0,0);">;</span><br>
<span style="color:rgb(0,0,0);">t</span> <span
style="color:rgb(92,92,92);">=</span> <span
style="color:rgb(174,92,176);text-decoration:underline;">toc</span><span
style="color:rgb(0,0,0);">;<br>
</span><span style="color:rgb(50,185,185);">printf</span><span
style="color:rgb(74,85,219);">(</span><span
style="color:rgb(188,143,143);">"</span><span
style="color:rgb(188,143,143);">Time (tic-toc) %f \n</span><span
style="color:rgb(188,143,143);">"</span><span
style="color:rgb(0,0,0);">,</span><span style="color:rgb(0,0,0);">t</span><span
style="color:rgb(74,85,219);">)</span><span
style="color:rgb(0,0,0);">;</span><br>
<br>
That doesn't work.<br>
<br>
How do I make Scilab display the registered time ???<br>
<br>
/Claus<br>
<br /><br />
<hr style='border:none; color:#909090; background-color:#B0B0B0; height: 1px; width: 99%;' />
<table style='border-collapse:collapse;border:none;'>
<tr>
<td style='border:none;padding:0px 15px 0px 8px'>
<a href="http://www.avast.com/">
<img border=0 src="http://static.avast.com/emails/avast-mail-stamp.png" />
</a>
</td>
<td>
<p style='color:#3d4d5a; font-family:"Calibri","Verdana","Arial","Helvetica"; font-size:12pt;'>
This email is free from viruses and malware because <a href="http://www.avast.com/">avast! Antivirus</a> protection is active.
</p>
</td>
</tr>
</table>
<br />
</body>
</html>