フィルターのクリア

Info

この質問は閉じられています。 編集または回答するには再度開いてください。

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

2 ビュー (過去 30 日間)
Amit
Amit 2013 年 8 月 14 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
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.

回答 (1 件)

Amit
Amit 2013 年 8 月 21 日
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.

この質問は閉じられています。

Community Treasure Hunt

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

Start Hunting!

Translated by