Scilab Home page | Wiki | Bug tracker | Forge | Mailing list archives | ATOMS | File exchange
Please login or create an account
Change language to: Français - Português - Русский - 日本語
Scilab Help >> Matlab to Scilab Conversion Tips > 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 emulated as shown in example.

Examples

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-2015 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Wed Jun 15 08:27:54 CEST 2016