How do I create a stand alone executable that affects an external virtual world using Real-Time Workshop 7.3 (R2009a)?

18 vues (au cours des 30 derniers jours)
I am trying to compile my model that includes blocks from Simulink 3D Animation into a stand-alone executable using Real-Time Workshop. Using the Generic Real-Time (GRT) Target, I can create a stand-alone executable from the model, but when I run the executable nothing happens.
After further inspection of the generated code, I observed that no code was generated from the blocks that belonged to the Virtual Reality Toolbox.

Réponse acceptée

MathWorks Support Team
MathWorks Support Team le 27 Juin 2009
The ability to generate code for blocks from Simulink 3D Animation is not available in Real-Time Workshop 7.3(R2009a).
The 'VR sink' block in Simulink 3D Animation is similar to the 'Scope' block in Simulink and it does not support code generation.
A possible workaround could be to run the model with blocks from Simulink 3D Animation in External mode using Real-Time Windows Target. The 'VR sink' block can be used as a viewing device in External Mode.
For more information, refer to the 'vrmaglev_rtwin' demo in the 'Demos' section of Simulink 3D Animation.

Plus de réponses (0)

Catégories

En savoir plus sur Simulation dans Help Center et File Exchange

Produits


Version

R2009a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by