What is the clock function?

3 次查看(过去 30 天)
Mr M.
Mr M. 2018-2-28
评论: Stephen23 2018-2-28
I've already seen the help page: https://www.mathworks.com/help/simulink/slref/clock.html, but I cannot understand anything from it, I think its very few and incomprehensible for me. If I run clock in MATLAB I get a six element vector? What are those six elements? What are the units?
  1 个评论
Stephen23
Stephen23 2018-2-28
@Mr M: What you describe is the MATLAB function, but you gave a link to the Simulink block. Why? This is the correct page for the MATLAB function:

请先登录,再进行评论。

回答(2 个)

Bjorn Gustavsson
Bjorn Gustavsson 2018-2-28
Well If the documentation for the simulink element clock doesn't help you have a look at the output of your function call, what does it look like? If that doesn't solve itself after a few repeated tries, try to look at the help for the matlab-function clock:
>>helpwin clock
HTH

Steven Lord
Steven Lord 2018-2-28
The documentation page to which you linked is for the Simulink source block, not the function in MATLAB. The documentation for the MATLAB function clock describes exactly what the elements of that vector represent.

类别

Help CenterFile Exchange 中查找有关 Sources 的更多信息

标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by