Simulation freezes after exiting fullscreen mode in VR Sink (Simulink Desktop Real-Time)
5 views (last 30 days)
Show older comments
Hi everyone,
I’m running a Simulink Desktop Real-Time model that includes a VR Sink block (from Simulink 3D Animation) to display a virtual world. Everything works fine until I open the VR viewer in fullscreen mode.
When I exit fullscreen, MATLAB immediately shows an error in the Command Window, and the simulation freezes, it doesn’t continue running, and I have to stop and restart the model manually.
This happens consistently. Here are some details about my setup:
- MATLAB version: R2024b
- Simulation mode: Simulink Desktop Real-Time (External mode)
- run in Kernel
I’m aware that in newer releases (R2025a and later) the VR Sink and related blocks are no longer supported, replaced by the new Simscape / Simulation 3D environment. However, I must use Simulink Desktop Real-Time, which currently does not support the new 3D blocks, so updating is not a viable option for my setup.
I need fullscreen rendering for human–VR interaction experiments, so I can’t avoid fullscreen mode.
Has anyone encountered this problem before? Is there a known workaround or patch for using fullscreen in VR Sink + Simulink Desktop Real-Time?
Thanks in advance for any suggestion or insight!
0 Comments
Answers (0)
See Also
Categories
Find more on Troubleshooting in Simulink Desktop Real-Time in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!