Main Content

signalEditor

Start Signal Editor

Description

example

signalEditorstarts Signal Editor without an associated model.

example

signalEditor(Name,Value)starts signal Editor using additional options specified by one or more name-value pair arguments.

Specify optional comma-separated pairs ofName,Valuearguments.Nameis the argument name andValueis the corresponding value.Namemust appear inside single quotes (' '). You can specify the name and value pair arguments in any order asName1,Value1,...,NameN,ValueN.

  • Model - Model name, specified as a character array, for which Signal Editor is to start. You can specify one model per call to thesignalEditorfunction.

    Note

    Load the model before starting Signal Editor for it.

  • 数据源,数据集名称,年代pecified as a character array, to be edited. You can specify one data set file per call to thesignalEditorfunction.

    Note

    You can start multiple sessions of Signal Editor for the same model. However, you can associate a data set file with only one Signal Editor at a time. A data set file cannot have multiple Signal Editor sessions associated with it.

To add a scenario to the Signal Editor interface, selectScenariofrom theInsertsection of the Signal Editor toolstrip.

Examples

collapse all

Start the Signal Editor for the model, slexAutotransRootInportsExample.

Load the slexAutotransRootInportsExample model, then start Signal Editor for it.

open_system('slexAutotransRootInportsExample') signalEditor('Model','slexAutotransRootInportsExample');

Start Signal Editor to editmyFile.mat.

signalEditor('DataSource','myFile.mat');

Load the slexAutotransRootInportsExample model, then start Signal Editor for the model, and editmyFile.mat.

open_system('slexAutotransRootInportsExample') signalEditor('Model','slexAutotransRootInportsExample','DataSource','myFile.mat');

See Also

Introduced in R2017b