How to open Scope in Simulink with Matlab command?

53 Ansichten (letzte 30 Tage)
Mahdiyar
Mahdiyar am 2 Apr. 2015
Bearbeitet: carlos vasquez am 31 Jan. 2017
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

Akzeptierte Antwort

Azzi Abdelmalek
Azzi Abdelmalek am 2 Apr. 2015
open_system('YourSimulinkModelName/ScopeName')
  2 Kommentare
carlos vasquez
carlos vasquez am 31 Jan. 2017
Bearbeitet: carlos vasquez am 31 Jan. 2017
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

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Simulink Functions finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by