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 Center および File ExchangeSimulink Functions についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by