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.
Info
此问题已关闭。 请重新打开它进行编辑或回答。
Is it possible to integrate a vrml file with simulink and .m file simultaneously
2 次查看(过去 30 天)
显示 更早的评论
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.
0 个评论
回答(1 个)
此问题已关闭。
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!