mbtime.m

来自「This contribution provides functions for」· M 代码 · 共 16 行

M
16
字号
function nowinseconds = mbtime
%MBTIME  Return serial date number converted to seconds
%		TIME = MBTIME returns the serial date number as returned by function
%		NOW converted to seconds.
%
%		Example:
%		time = mbtime;
%
%		Markus Buehren
%		Last modified 21.04.2008 
%
%		See also NOW, CLOCK, DATENUM.

% function datenummx is a mex-file found in toolbox/matlab/timefun
nowinseconds = datenummx(clock)*86400;

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?