Matlab flight simulator display indicator query

asked 2012-04-11 23:58:35 +0200

Justraja13 gravatar image

Hello

I'm working on a flight simulator at the moment within Matlab. I've hooked it up to a joystick and i have great control of yaw, roll, pitch, VTOL, thrust reversers and more! One nice little feature I have made in an m-file is an altitude and speed indicator. These indicators are basically two plots of an outer circle and inner circle and then a dial inside pointing to a value.

The idea is as the aircraft flies, the dial changes indicating speed.

However, I can't quite figure out how to implement this in real time within simulink. I can't use X-Y plots as I require more than one plot on the figure. The needle needs to move simultaneously (or at least with as little delay as possible) with the simulation.

Any help would be greatly appreciated!!!

edit retag flag offensive close merge delete

Comments

1

I think you are in the wrong forum. ask.sagemath is no place to ask matlab question or general problems concering algorithms. Try http://www.mathworks.de/matlabcentral/answers/ for example, perhaps there you can find adequate help.

god.one gravatar imagegod.one ( 2012-04-12 02:24:56 +0200 )edit