Scilab Home page | Wiki | Bug tracker | Forge | Mailing list archives | ATOMS | File exchange
Please login or create an account
Change language to: English - Português - 日本語

Please note that the recommended version of Scilab is 6.1.1. This page might be outdated.
However, this page did not exist in the previous stable version.

Aide Scilab >> Aide à la conversion Matlab vers Scilab > Matlab-Scilab equivalents > C > clock (Matlab function)

clock (Matlab function)

Current time as a date vector

Matlab/Scilab equivalent

Matlab Scilab
No equivalent

Particular cases

Even if there no equivalent for Matlab clock in Scilab, it can be emuled as shown in example.


Matlab Scilab
c = clock
w = getdate();
w(3:5) = [];
w(6) = w(6)+w(7)/1000;
c = w(1:6);
Scilab Enterprises
Copyright (c) 2011-2017 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Wed Oct 05 12:11:03 CEST 2011