Borrar filtros
Borrar filtros

Info

La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.

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

2 visualizaciones (últimos 30 días)
Amit
Amit el 14 de Ag. de 2013
Cerrada: MATLAB Answer Bot el 20 de Ag. de 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.

Respuestas (1)

Amit
Amit el 21 de Ag. de 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.

La pregunta está cerrada.

Community Treasure Hunt

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

Start Hunting!

Translated by