도움말 센터도움말 센터
시간 또는 기간의 초 단위 반환
R2019b 이후
secs = seconds(time)
secs = seconds(duration)
secs = seconds(time)은 time 객체인 time과 동일한 값을 나타내는 스칼라 숫자인 secs를 초 단위로 반환합니다.
secs
time
secs = seconds(duration)은 duration 객체인 duration과 동일한 값을 나타내는 스칼라 숫자인 secs를 초 단위로 반환합니다.
duration
모두 축소
Time
현재 ROS 시간 또는 시스템 시간으로, Time 객체 핸들로 지정됩니다. rostime을 사용하여 Time 객체를 만듭니다.
rostime
Duration
기간으로, Sec 속성과 Nsec 속성을 가진 ROS Duration 객체로 지정됩니다. rosduration을 사용하여 Duration 객체를 만듭니다.
Sec
Nsec
rosduration
Time 객체 또는 Duration 객체의 총 시간으로, 스칼라(단위: 초)로 반환됩니다.
R2019b에 개발됨
rosduration | rostime
다음 MATLAB 명령에 해당하는 링크를 클릭했습니다.
명령을 실행하려면 MATLAB 명령 창에 입력하십시오. 웹 브라우저는 MATLAB 명령을 지원하지 않습니다.
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Contact your local office