SetTimer (Aero.FlightGearAnimation)
Set name of timer for animation of FlightGear flight simulator
Syntax
SetTimer(h)
h.SetTimer
SetTimer(h, MyFGTimer
)
h.SetTimer('MyFGTimer
')
Description
SetTimer(h)
and h.SetTimer
set the name of the MATLAB® timer
for the animation of the FlightGear flight simulator. SetTimer(h,
and MyFGTimer
)h.SetTimer('
set
the name of the MATLAB timer for the animation of the FlightGear
flight simulator and assign a custom name to the timer. MyFGTimer
')
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
Examples
Set the MATLAB timer for animation of the FlightGear animation
object, h
:
h = Aero.FlightGearAnimation h.SetTimer
Set the MATLAB timer used for animation of the FlightGear
animation object, h
, and assign a custom name, MyFGTimer
,
to the timer:
h = Aero.FlightGearAnimation h.SetTimer('MyFGTimer')
Version History
Introduced in R2008b