Help CenterHelp Center
Return names of all elements in dataset
element_list = getElementNames(dataset)
example
element_list = getElementNames(dataset) returns the names of all of the elements in the Simulink.SimulationData.Dataset object.
dataset
Simulink.SimulationData.Dataset
expand all
SimulationData.Dataset
The data set from which to the element name.
element_list
Data set, returned as a cell array of the character vectors containing names of all of the elements of the dataset.
Return the names of the elements for the topOut data set (the signal logging data).
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'
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
Ha hecho clic en un enlace que corresponde a este comando de MATLAB:
Ejecute el comando introduciéndolo en la ventana de comandos de MATLAB. Los navegadores web no admiten comandos de 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