Using a structure for "Variable name" in "To Workspace" block in Simulink
Show older comments
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!
Accepted Answer
More Answers (0)
Categories
Find more on Signal Import and Export in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!