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

댓글 수: 1

K E
K E 2012년 8월 10일
Just a head's up, a lot of scopes will slow your simulation; see this blog post.

댓글을 달려면 로그인하십시오.

 채택된 답변

Azzi Abdelmalek
Azzi Abdelmalek 2012년 8월 9일
편집: Azzi Abdelmalek 2012년 8월 9일

2 개 추천

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)

댓글 수: 5

Venkatapathi
Venkatapathi 2012년 8월 9일
Hi Mr.Azzi Abdelmalek
your solution is working...
Thank you very much
venkat
TAB
TAB 2012년 8월 9일
To open the scopes automatically when simulation is completed, add above code in model's StopFcn callback.
Venkatapathi
Venkatapathi 2012년 8월 9일
Hi TAB..
iam able to open the scopes automatically by using StopFcn callback..thanks
Slimeni Omar
Slimeni Omar 2019년 2월 19일
hi
please i would like to know
how to impliment a scope in simulink model with matlab command ,just from the librery browsers
Rohail Bootwalla
Rohail Bootwalla 2022년 5월 21일
Did you get an answer?

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Simulink Environment Customization에 대해 자세히 알아보기

제품

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by