MATLAB: Start simulink from matlab access scopes

simulinksimulink scope

When you start a simulink simulatioon using the "sim" command, you cannot access the scopes when the simulation execution ends.
Is there a way or a command to let me study the scopes, as I do when starting a simulation directly in simulink environment ?
EDIT: I've to clearify my question! It's only then not possibly to access the scopes (you can doubleclick, but the scope is black) when I start a siumulation from MATLAB (sim command) and the accelerator type is " rapid accelerator "
Is there a way to see the scope results, other than watching it in MATLAB by plot() the variables in workspace?

Best Answer

If you want to access your scopes graphically through the Simulink interface:
sim('modelname')
open('modelname')
If you want the data programatically, then use the scope to "Save Data to Workspace" and you can manipulate it from there. For example:
simplot(ScopeData)