I am finding out how to use the ‘From workspace’ and ‘to workspace’ blocks in order to perform a simulation in a .mdl file by doing a small exercise as you see in the picture below.
I get something from simulink to workspace, a variable called ‘simout’
but I don´t know how to acces to this variable.
Does anyone could tell me how to see the results of my simulation?
I enter the name of the variable ‘simout’ but I don´t get nothing, only this message:
simout =
time: []
signals: [1x1 struct]
blockName: 'Fromworkspace/To Workspace'
Thank you so much!

The data are in
simout.signals.valuesand the times are insimout.time.