Main Content


(To be removed) Update virtual world

vrdrawnow will be removed in a future release. For more information, see Version History.




vrdrawnow removes from the queue pending changes to the virtual world and makes these changes to the scene in the viewer.

Changes to the scene are normally queued and the views are updated when

  • The MATLAB® software is idle for some time (no Simulink® model is running and no script is being executed).

  • A Simulink step is finished.

Version History

Introduced before R2006a

collapse all

R2023b: To be removed

The vrdrawnow will be removed in a future release. Instead, use sim3d classes and Simulation 3D blocks to interface MATLAB and Simulink with the Unreal Engine® 3D simulation environment. To get started, see Create 3D Simulations in Unreal Engine Environment.