This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

uiaeroclimb

Create climb rate indicator component

Syntax

climbrate = uiaeroclimb
climbrate = uiaeroclimb(parent)
climbrate = uiaeroclimb( ___ ,Name,Value)

Description

example

climbrate = uiaeroclimb creates a climb rate indicator in a new figure. MATLAB® calls the uifigure function to create the figure.

The climb rate indicator displays measurements for an aircraft climb rate in ft/min.

The needle covers the top semicircle, if the velocity is positive, and the lower semicircle, if the climb rate is negative. The range of the indicator is from –Maximum feet per minute to Maximum feet per minute. Major ticks indicate Maximum/4. Minor ticks indicate Maximum/8 and Maximum/80.

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.

example

climbrate = uiaeroclimb(parent) specifies the object in which to create the climb rate indicator.

climbrate = uiaeroclimb( ___ ,Name,Value) specifies climb rate indicator properties using one or more Name,Value pair arguments. Use this option with any of the input argument combinations in the previous syntaxes.

Examples

collapse all

Create a climb rate indicator indicator component named climbrate. By default, the function creates a uifigure object for the indicator object.

climbrate = uiaeroclimb
climbrate = 

  ClimbIndicator (0) with properties:

      ClimbRate: 0
    MaximumRate: 2000
       Position: [100 100 120 120]

  Show all properties

Create a figure window to contain the climb rate indicator component, then create an climb rate indicator component named climbrate.

figure = uifigure;
climbrate = uiaeroclimb(figure)
climbrate = 

  ClimbIndicator (0) with properties:

      ClimbRate: 0
    MaximumRate: 2000
       Position: [100 100 120 120]

  Show all properties

Input Arguments

collapse all

Parent container, specified as a Figure created using the uifigure function, or one of its child containers: Tab, Panel, ButtonGroup, or GridLayout. If no container is specified, MATLAB calls the uifigure function to create a new Figure object that serves as the parent container.

Name-Value Pair Arguments

Specify optional comma-separated pairs of Name,Value arguments. Name is the argument name and Value is the corresponding value. Name must appear inside quotes. You can specify several name and value pair arguments in any order as Name1,Value1,...,NameN,ValueN.

For a full list of climb rate indicator properties and descriptions for each type, see ClimbIndicator Properties.

Output Arguments

collapse all

Climb rate indicator component, returned as an object.

Introduced in R2018b