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.
Website auswählen
Wählen Sie eine Website aus, um übersetzte Inhalte (sofern verfügbar) sowie lokale Veranstaltungen und Angebote anzuzeigen. Auf der Grundlage Ihres Standorts empfehlen wir Ihnen die folgende Auswahl: .
Sie können auch eine Website aus der folgenden Liste auswählen:
So erhalten Sie die bestmögliche Leistung auf der Website
Wählen Sie für die bestmögliche Website-Leistung die Website für China (auf Chinesisch oder Englisch). Andere landesspezifische Websites von MathWorks sind für Besuche von Ihrem Standort aus nicht optimiert.