ヘルプ センターヘルプ センター
データセットのすべての要素の名前を返す
element_list = getElementNames(dataset)
例
element_list = getElementNames(dataset) は、Simulink.SimulationData.Dataset オブジェクトにあるすべての要素の名前を返します。
dataset
Simulink.SimulationData.Dataset
すべて展開する
SimulationData.Dataset
要素名の取得元のデータセット。
element_list
データセット。返される文字ベクトルの cell 配列には、データセットのすべての要素の名前が含まれています。
topOut データセット (信号ログ データ) の要素の名前を返します。
topOut
open_system(docpath(fullfile(docroot,'toolbox','simulink',... 'examples','ex_bus_logging'))); open_system(docpath(fullfile(docroot,'toolbox','simulink',... 'examples','ex_mdlref_counter_bus'))); sim('ex_bus_logging') el_names = topOut.getElementNames
el_names = 'COUNTERBUS' 'OUTPUTBUS' 'INCREMENTBUS' 'inner_bus'
R2011a で導入
Simulink.SimulationData.BlockPath | Simulink.SimulationData.Signal | Simulink.SimulationData.DataStoreMemory | addElement | concat | find | get | numElements | setElement | Simulink.SimulationData.Dataset
Simulink.SimulationData.BlockPath
Simulink.SimulationData.Signal
Simulink.SimulationData.DataStoreMemory
addElement
concat
find
get
numElements
setElement
次の MATLAB コマンドに対応するリンクがクリックされました。
コマンドを MATLAB コマンド ウィンドウに入力して実行してください。Web ブラウザーは MATLAB コマンドをサポートしていません。
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