How to open a Simulink Scope without the model

조회 수: 5 (최근 30일)
Gunter Nitzsche
Gunter Nitzsche 2017년 7월 27일
편집: Gunter Nitzsche 2017년 8월 14일
Hi, I am running simulink simulations from a script which take quite a while. So it is good to have a scope open, which shows some output signals to see how far the simulation is and what it is doing.
Under Matlab2014a I was able to open such a scope without actually opening the model:
load_system('model');
set_param('model/Scope','open','on');
The same commands under Matlab2017a do not open the scope. I really have to open the simulink model to see the scope.
Is there a way under Matlab2017a to open the scope without having the window of the model open as well? I am working under Windows7.
Thank you very much in advance.

채택된 답변

Swarooph
Swarooph 2017년 7월 27일
You can use the open_system command. For e.g. in your case:
open_system('model/Scope')
Doc on the command here .
  댓글 수: 1
Gunter Nitzsche
Gunter Nitzsche 2017년 8월 14일
편집: Gunter Nitzsche 2017년 8월 14일
great, this works Thank you

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

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Simulink Functions에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by