Use of bus selector
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Bus selection take in 2 inputs but generate 2 outputs. Is there any equivalent but only generate one output? I would like to plot only 1 output based on the conditions of the inputs.
Thanks.
2 Kommentare
Antworten (1)
Yash
vor etwa 17 Stunden
You can achieve this by using Switch block from the Signal Routing Library and connecting the output of this block to a Scope. This will plot the signal based on the condition specified in the Switch block.
Read more about Switch & Scope blocks here:
web(fullfile(docroot, 'simulink/slref/switch.html'))
web(fullfile(docroot, 'simulink/slref/scope.html'))
0 Kommentare
Siehe auch
Kategorien
Mehr zu Sources finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!