Simulink: create struct with signal names
Mostra commenti meno recenti
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
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su Prepare Model Inputs and Outputs in Centro assistenza e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
