> For the complete documentation index, see [llms.txt](https://nelson-9.gitbook.io/nelson/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://nelson-9.gitbook.io/nelson/markdown/en/com_engine/com_get.md).

# COM\_get

Get property value from COM interface.

## 📝 Syntax

* v = get(h, propertyname)
* v = COM\_get(h, propertyname)
* v = h.propertyname

## 📥 Input argument

* h - a COM object.
* propertyname - a string: the property's name of COM object.

## 📤 Output argument

* v - a nelson variable.

## 📄 Description

The function returns the value of the property specified in the string, propertyname.

## 💡 Example

```matlab
e = actxserver('Excel.Application');
get(e, 'Path')
e.Path
```

## 🔗 See also

[COM\_set](/nelson/markdown/en/com_engine/com_set.md).

## 🕔 History

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