uiaerohorizon
Create artificial horizon component
Syntax
Description
creates an
artificial horizon in a new figure. MATLAB® calls the horizon
= uiaerohorizonuifigure
function to create the
figure.
The artificial horizon represents aircraft attitude relative to horizon and displays roll and pitch in degrees:
Values for roll cannot exceed +/– 90 degrees.
Values for pitch cannot exceed +/– 30 degrees.
If the values exceed the maximum values, the gauge maximum and minimum values do not change.
Changes in roll value affect the gauge semicircles and the ticks located on the black arc turn accordingly. Changes in pitch value affect the scales and the distribution of the semicircles.
Note
Use this function only with figures created using the
uifigure
function. Apps created using GUIDE or the
figure
function do not support flight instrument
components.
specifies artificial horizon properties using one or more horizon
= uiaerohorizon( ___ ,Name,Value
)Name,Value
pair arguments. Use this option with any of the input argument combinations in the
previous syntaxes.
Examples
Input Arguments
Output Arguments
Version History
Introduced in R2018b