필터 지우기
필터 지우기

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