Rotating of body with GUI

Hi,
I have a complicated problem. I have a cylindrical 3D body I can show three dimensional. Now I want to rotate this 3D body in its own axis by a certain degree. This I would like to then control via a slider in Matlab GUI.
Thank you in advance for your effort and help.

回答(2 个)

doc view
If you are not comfortable with GUI building, check this out: http://blogs.mathworks.com/videos/2005/10/03/guide-video-part-two/?s_tid=Blog_Videos_Category

1 个评论

Hi Dishant Arora,
First many thanks for your quick response. But somehow, I probably can not explain. That which you sent me, the whole picture and I would not turn.
So, I import a cylindrical STL file and plotte the whole thing with the function trisurf. This body I do not want to rotate as a whole image or chart but the body rotate about its own axis at a certain angle. And all I want to then control via slider that I give an angle in the text box and the component rotates about its axis at the desired angle.
Thank you in advance for your help.
Regards Ekrem

请先登录,再进行评论。

Ekrem
Ekrem 2014-6-10

0 个投票

Hi Dishant Arora,
First many thanks for your quick response. But somehow, I probably can not explain. That which you sent me, the whole picture and I would not turn.
So, I import a cylindrical STL file and plotte the whole thing with the function trisurf. This body I do not want to rotate as a whole image or chart but the body rotate about its own axis at a certain angle. And all I want to then control via slider that I give an angle in the text box and the component rotates about its axis at the desired angle.
Thank you in advance for your help.
regards EkremHi Dishant Arora,

类别

帮助中心File Exchange 中查找有关 App Building 的更多信息

提问:

2014-6-10

评论:

2014-6-10

Community Treasure Hunt

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

Start Hunting!

Translated by