Simulink: create struct with signal names
Show older comments
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
Accepted Answer
More Answers (0)
Categories
Find more on Component-Based Modeling in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!