sltest.testsequence.addTransition(blockPath,fromStep,condition,toStep)
creates a test step transition in the Test Sequence block
blockPath. The transition executes on
condition, from the origin fromStep,
to the destination toStep. fromStep and
toStep must be at the same hierarchy level.
Path to a Test Sequence block, including the block name, specified as a
string or character vector. Instead of the block path, you can use a block
handle.
Example: 'FanSpeedTestHarness/Test Sequence'
Path of an existing step in the Test Sequence block,
specified as a character vector, at which the transition originates.
The path must include the step name and step hierarchy, using . to
separate hierarchy levels. This step must be at same level as toStep.
Example: 'topStep.midStep.step1'
The condition on which the transition executes, specified as
a character vector. Though specified as a character vector, it must
be a valid logical expression for the transition to execute.
Example: 'theta == 0 && a == 1'
Path of an existing step in the Test Sequence block,
specified as a character vector, which becomes active step after the
transition executes. The path must include the step name and step
hierarchy, using . to separate hierarchy levels.
This step must be at same level as fromStep.
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window.
Web browsers do not support MATLAB commands.
Seleziona un sito web
Seleziona un sito web per visualizzare contenuto tradotto dove disponibile e vedere eventi e offerte locali. In base alla tua area geografica, ti consigliamo di selezionare: United States.
Puoi anche selezionare un sito web dal seguente elenco:
Come ottenere le migliori prestazioni del sito
Per ottenere le migliori prestazioni del sito, seleziona il sito cinese (in cinese o in inglese). I siti MathWorks per gli altri paesi non sono ottimizzati per essere visitati dalla tua area geografica.