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.
Sélectionner un site web
Choisissez un site web pour accéder au contenu traduit dans votre langue (lorsqu'il est disponible) et voir les événements et les offres locales. D’après votre position, nous vous recommandons de sélectionner la région suivante : .
Vous pouvez également sélectionner un site web dans la liste suivante :
Comment optimiser les performances du site
Pour optimiser les performances du site, sélectionnez la région Chine (en chinois ou en anglais). Les sites de MathWorks pour les autres pays ne sont pas optimisés pour les visites provenant de votre région.