get
tscollection
プロパティのクエリ
説明
例
プロパティの表示
2 つの timeseries
オブジェクトから tscollection
オブジェクトを作成して、そのプロパティを表示します。
ts1 = timeseries(rand(5,1),'Name','ts1'); ts2 = timeseries(rand(5,1),'Name','ts2'); tsc = tscollection({ts1,ts2}); tscinfo = get(tsc)
tscinfo = struct with fields:
Name: 'unnamed'
Time: [5x1 double]
TimeInfo: [1x1 tsdata.timemetadata]
Length: 5
ts1: [1x1 timeseries]
ts2: [1x1 timeseries]
Length
プロパティのみを表示します。
tsclength = get(tsc,'Length')
tsclength = 5
入力引数
tsc
— 入力 tscollection
スカラー
入力 tscollection
。スカラーとして指定します。
propname
— プロパティ名
文字ベクトル
プロパティ名。文字ベクトルとして指定します。tscollection
プロパティ名の完全な一覧については、tscollection
を参照してください。
データ型: char
バージョン履歴
R2006a より前に導入
参考
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)