MATLAB: Import variables from Base Workspace into Simulink model

base workspacesimulink

Hi,
Is it possible to show the variables in Base Workspace on the Simulink model window automatically after one simulation? Maybe some objects are needed to be created on the model window to hold there values.
I think oscilloscops can be poppped up automatically with the simulation. Are there tools for Base Workspace?
Thanks Senmeis

Best Answer

use To Workspace block from Simulink/Sinks
In the block properties, give a name to your variable, by default it's simout. Also set variable format to array