seconds
説明
入力引数
time
— 現在の ROS 時間またはシステム時間
Time
オブジェクト ハンドル
ROS 時間またはシステム時間。Time
オブジェクト ハンドルとして指定します。Time
オブジェクトは rostime
を使用して作成します。
duration
— 持続時間
ROS Duration
オブジェクト
持続時間。Sec
および Nsec
プロパティをもつ ROS Duration
オブジェクトとして指定します。Duration
オブジェクトは rosduration
を使用して作成します。
出力引数
secs
— 合計時間
スカラー (秒単位)
Time
オブジェクトまたは Duration
オブジェクトの合計時間。秒単位のスカラーとして返されます。
バージョン履歴
R2019b で導入
参考
MATLAB コマンド
次の MATLAB コマンドに対応するリンクがクリックされました。
コマンドを MATLAB コマンド ウィンドウに入力して実行してください。Web ブラウザーは 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:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)