Effacer les filtres
Effacer les filtres

Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

Is it possible to integrate a vrml file with simulink and .m file simultaneously

2 vues (au cours des 30 derniers jours)
Amit
Amit le 14 Août 2013
Clôturé : MATLAB Answer Bot le 20 Août 2021
I am using a simulink model to control a transform node of a .wrl file (using vr sink). Along with that I want to display the path traversed by the object(same transform node) using pointSet node. Since the points are generated using the simulink model dynamically, I planned to use a .m file to access transform nodes current position and pass it to the coordinate node of pointSet node. But I found that I am not able to simultaneously access the file(.wrl) from both simulink as well as .m file(maybe because it might create a memory lock situation though i am not writing same variables at both the places). Kindly provide an answer. If my approach is completely wrong, please tell me an alternative approach to display path traversed by an object when the object is controlled using a simulink model.

Réponses (1)

Amit
Amit le 21 Août 2013
I am able to call simulink model to run from .m file using command "sim", but I am unable to see the actual simulation of vrml file i.e. I am able to see that the simulation has occured by seeing the plots after the simualtion but I am unable to view the ongoing animated part of the simulation. Please help.

Cette question est clôturée.

Community Treasure Hunt

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

Start Hunting!

Translated by