MATLAB: How to open the specific scope

add_blockauto open the scopeopen_systemsimulink

Hi all i have a simulink model which consists of 20 to 30 scopes at diffrent subsystems. i would like to open the specific scopes ( may be 3 to 4 scopes at a time) automatically, once simulation time is completed.
my question is
1. is it possible to open the specific scopes automatically?
thanks to you for spending your valuable time.
Thanks & Regards venkat

Best Answer

assume
ModelName='fic'; % your simulink model name
SubsystemName='sub1'
ScopeName='scope1'
% to open this scoppe :
open_system('fic/sub1/scope1')
% you can do the same to open any system or subsystemem
% to close it
close_system(ModelName)
Related Question