Rotating of body with GUI

1 view (last 30 days)
Ekrem
Ekrem on 10 Jun 2014
Commented: Ekrem on 10 Jun 2014
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.

Answers (2)

Dishant Arora
Dishant Arora on 10 Jun 2014
  1 Comment
Ekrem
Ekrem on 10 Jun 2014
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

Sign in to comment.


Ekrem
Ekrem on 10 Jun 2014
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,

Categories

Find more on Polymers in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!