Using a structure for "Variable name" in "To Workspace" block in Simulink
Mostrar comentarios más antiguos
Is there a way to get the To workspace block in simulink to save data in to a structure variable. For example, in one subsystem of my whole model I would like to log data in to the variable name "engine1.speed" and in another subsystem i would like to use "engine2.speed" and "engine2.voltage".
Is this possible?
Thank you in advance!
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Programmatic Model Editing en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
