Documentation

This is machine translation

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

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

cqg

Create CQG connection object

Syntax

Description

example

c = cqg creates a CQG® connection object c.

Examples

collapse all

Create the CQG connection object using cqg.

c = cqg
c = 

  cqg with properties:

       Handle: [1x1 COM.CQG_CQGCEL_4]
    APIConfig: [1x1 Interface.CQG_4.0_Type_Library_-_Revised_API.ICQGAPIConfig]

CQG connection object properties reflect the CQG ActiveX® object Handle and the API configuration type library specification APIConfig.

Display the Handle property of c.

c.Handle
ans =
 
    COM.CQG_CQGCEL_4

Close the CQG connection.

close(c)

Related Examples

Output Arguments

collapse all

CQG connection, returned as a CQG connection object. The properties of this object are as follows:

Property

Description

Handle

CQG ActiveX object

APIConfig

API configuration type library specification

These properties are determined by the CQG API.

See Also

|

Introduced in R2013b

Was this topic helpful?