From: Wilhelm Lopez Couoh on
Hi people

I'm working in an animation controlled by an external signal, for now I made a simulation of this in this way:

- I created a 3D image in vrbuild (tollbox to do 3D images)
- I create a code to conect matlab with this archive and controla it from matlab

my code display a menu with classic 1,2,3,4 options, when I press 1, some part of the 3D image make a deformation scale and then back to normal size. same for the others opcion just is another part of the 3D image.

the problem is next:

like mentioned, i want control the animation from an external signal, like a sine, and the deformation scale fo the image will be proportional to the sine amplitude.

many thx for your help
From: Saurabh Mahapatra on
Hi there,

Please see this example where we use a signal in MATLAB to control the position of an aircraft in 3D.

http://www.mathworks.com/matlabcentral/fileexchange/26123-fly-a-747-using-matlab

Since you are dealing with deformations, you will have to access and identify the nodes responsible for it.

Thanks,

Saurabh