Main Content

SetTimer

Set name of timer for animation of FlightGear flight simulator

Description

SetTimer(h) sets the name of the MATLAB® timer for the animation of the FlightGear flight simulator.

You can use this function to customize your FlightGear animation object. This customization allows you to simultaneously run multiple FlightGear objects if you want to use

  • Multiple FlightGear sessions

  • Different ports to connect to those sessions

SetTimer(h,MyFGTimer) sets the name of the MATLAB timer for the animation of the FlightGear flight simulator and assigns it a custom name MyFGTimer.

Input Arguments

collapse all

Custom name of the timer, specified as a string.

Data Types: string

Version History

Introduced in R2008b

See Also