Switch between VR Text Output blocks for VR Sink in Simulink
1 view (last 30 days)
Show older comments
I have two VR Text Output blocks that need to update text in my 3D world. I want to be able to switch between each VR Text Output block depending on if an input signal (a trigger) is equal to 0 or 1. I have tried something similar using a Manual Variant Sink block, but I do not want to manually choose which VR Text Output to execute, I want it done automatically if an input signal is 0 vs 1. How would I do this? I have attached an image of my current setup with the Manual Variant Sink block. It takes in an input signal with a vector of values to update the VR Text Output blocks, and sends the input signal to both VR Text Output blocks. Then the Manual Variant Sink block determines which block to execute.
0 Comments
Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!