Simulink: create struct with signal names
Afficher commentaires plus anciens
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
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Component-Based Modeling dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
