# QObject\_get

Retrieve a property value from an QObject handle.

## Syntax

* R = get(h, property\_name)

## Input argument

* h - an QObject handle.
* property\_name - a string: property name.

## Output argument

* R - The data type of the return value depends on the invoked method.

## Description

**R = get(h, property\_name)** returns the value of property asked.

## See also

[QObject\_set (set)](qobject_set), [get](../handle/get).

## Example

```matlab
h = errordlg();
h.visible % or get(h, 'visible')
h.windowTitle % or get(h, 'windowTitle')
```

## History

| Version | Description     |
| ------- | --------------- |
| 1.0.0   | initial version |

## Author

Allan CORNET
