What is the clock function?

조회 수: 2 (최근 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