How to open Scope in Simulink with Matlab command?

Hi everyone
I want to run the simulink with the matlab command "sim". I need to see the trend of a signal . So, I use a Scope.
I want to open the scope with a matlab command line. Is there any way to open the scope in simulink with matlab command, not manually?
Regards

 채택된 답변

Azzi Abdelmalek
Azzi Abdelmalek 2015년 4월 2일
open_system('YourSimulinkModelName/ScopeName')

댓글 수: 2

thanks
carlos vasquez
carlos vasquez 2017년 1월 31일
편집: carlos vasquez 2017년 1월 31일
i use this comand but, when i want to use the command set_param(gsc,'Simulationcommand','Stop'). i have this error. subsystem block does not have a parameter named 'Simulationcommand'. also i use the comand close_param for close all but i have the same error. this command works on guide of matlab?
help

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

추가 답변 (0개)

카테고리

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

태그

질문:

2015년 4월 2일

편집:

2017년 1월 31일

Community Treasure Hunt

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

Start Hunting!

Translated by