Simulink: create struct with signal names
Ältere Kommentare anzeigen
Hello,
after the Simulink simulation I would like to have a structure that contains certain signal values. The simples way to do this is to mux all signals together and write them with the block "To Workspace". But here I loose the information about the signal names. Is there an solution to create a structure that contains all signal names? I thought the structure could look like this:
data.time = ...
data.speed = ...
data.dist = ...
Cheers, Frank
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Prepare Model Inputs and Outputs finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
