get BlockPath of all signals from a dataset
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
I have logged 2 signals in Simulink data inspector.
If I export signals using Simulink.sdi.exportRun(RunID), it creates a mat file with dataset.
How can I get BlockPaths of all looges signals in a cell array.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/917569/image.jpeg)
0 Kommentare
Antworten (1)
Juan Diego Rios Penaloza
am 14 Jun. 2023
You can do the following:
for i=1:numElements(data)
YourCellArray{i,1} = convertToCell(data{i}.BlockPath);
end
I am not sure why there is not a straight way of doing this, or at least I didn't find it.
0 Kommentare
Siehe auch
Kategorien
Mehr zu Data Import and Analysis finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!