Write data from万博1manbetxmodel to virtual world
Simulink 3D Animation
要从模型输出数据以控制和动画虚拟世界,请使用VR接收器堵塞。这VR接收器block writes values from its ports to virtual world fields specified in the Block Parameters dialog box.
这VR接收器块等效于VR To Video块,除了显示视频输出端口parameter for the VR Sink block is cleared by default.
这VR接收器block cannot be compiled by the万博1manbetx®CODER™软件,但可以用作主机计算机上的仿真设备。
笔记
当前的内部查看器窗口(vrfigure
)属性与Simulink模型一起保存。万博1manbetx下次您打开模型时,内部查看器窗口将以与最后保存的相同参数(例如位置,大小和导航模式)打开。关闭查看器窗口时,Simulink软件如果这些属性已更改,则不会提醒您。万博1manbetx
这VR接收器块是模拟设备。您可以将其包含在您编译的模型中万博1manbetxSimulink编码器software. If you use External mode to compile, build, and deploy the model on a target platform, such as万博1manbetxSimulink实时™orSimulink Desktop Real-Time™, some sink blocks and Sim Viewing Device blocks stay in normal mode during simulation, receive data from the target, and display that data. For more information, see在外部模式下使用C/C ++ S-函数作为模拟设备(万博1manbetxSimulink)。