Simulation freezes after exiting fullscreen mode in VR Sink (Simulink Desktop Real-Time)
7 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
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 Kommentare
Antworten (1)
Jan Houska
am 24 Okt. 2025
Hi Giada,
could you please post the exact text of the error shown in the Command Window when you exit fullscreen mode? This will likely help to understand what's going on there.
Thanks, Jan
1 Kommentar
Siehe auch
Kategorien
Mehr zu Target Computer Setup finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!