time
カレンダー期間の時間を期間に変換
説明
例
カレンダー期間の時間を期間に変換
カレンダー期間の配列を作成します。
d = caldays(8:10) + hours(1.2345)
d = 1x3 calendarDuration
8d 1h 14m 4.2s 9d 1h 14m 4.2s 10d 1h 14m 4.2s
配列の時刻の成分を期間に変換します。
t = time(d)
t = 1x3 duration
01:14:04 01:14:04 01:14:04
t
のデータ型を表示します。
whos t
Name Size Bytes Class Attributes t 1x3 40 duration
入力引数
d
— 入力のカレンダー期間
スカラー | ベクトル | 行列 | 多次元配列
入力のカレンダー期間。スカラー、ベクトル、行列または多次元 calendarDuration
配列として指定します。
拡張機能
tall 配列
メモリの許容量を超えるような多数の行を含む配列を計算します。
この関数は tall 配列を完全にサポートしています。詳細については、tall 配列を参照してください。
スレッドベースの環境
MATLAB® の backgroundPool
を使用してバックグラウンドでコードを実行するか、Parallel Computing Toolbox™ の ThreadPool
を使用してコードを高速化します。
分散配列
Parallel Computing Toolbox™ を使用して、クラスターの結合メモリ上で大きなアレイを分割します。
この関数は分散配列を完全にサポートしています。詳細については、分散配列を使用した MATLAB 関数の実行 (Parallel Computing Toolbox)を参照してください。
バージョン履歴
R2014b で導入
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)