2d plot from simulink too GUI axes

2 visualizaciones (últimos 30 días)
Paul
Paul el 14 de Mzo. de 2012
Im controlling A helicopter with simulink and i would like a real time plotting of its position of its x and y cordinates on a GUI axes.
The x position and y position are two seperate signals. How can i get these two signals into and x,y graph that is continuously updated on to the GUI.
Thanks
p.s I have seperate signals of the euler angles and z position for the aircraft . How could i carry this on to have a 3d position of the aircraft.

Respuesta aceptada

Guy Rouleau
Guy Rouleau el 14 de Mzo. de 2012
Register an Event Listener to send the data to ghe GUI everytime the block output is updated:
  4 comentarios
Paul
Paul el 21 de Mzo. de 2012
I'm still confused actually can some one try and explain it to me plz.
Guy Rouleau
Guy Rouleau el 22 de Mzo. de 2012
I am trying to understand your previous comment and I have no idea what this sentence means:
"Am i right in thinking that blk i can have as a variable i can change so it has different directory Post Outputs will update the graph when it moves"
Please add some punctuation or words to help us understand what you are looking for.

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre General Applications en Help Center y File Exchange.

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by