Documentation

signalEditor

Start Signal Editor

Syntax

signalEditor
signalEditor(Name,Value)

Description

example

signalEditor starts 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 of Name,Value arguments. Name is the argument name and Value is the corresponding value. Name must appear inside single quotes (' '). You can specify the name and value pair arguments in any order as Name1,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 the signalEditor function.

    Note

    Load the model before starting Signal Editor for it.

  • DataSource - Data set name, specified as a character array, to be edited. You can specify one data set file per call to the signalEditor function.

    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.

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 edit myFile.mat.

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

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

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

Introduced in R2017b

Was this topic helpful?