Home | Categories | Alphabetical | Classes | All Contents | [ < ] | [ > ]

CDF_OPEN


Syntax | Return Value | Arguments | Keywords | Examples | Version History

The CDF_OPEN function opens an existing Common Data Format file.

Syntax

Result = CDF_OPEN(Filename)

Return Value

If successful, the CDF ID for the file is returned.

Arguments

Filename

A scalar string containing the name of the file to be created. Note that if the desired filename has a .cdf ending, you can omit the extension and specify just the first part of the filename. For example, specifying "mydata" would open the file mydata.cdf.

Keywords

None.

Examples

id = CDF_OPEN('open_close.cdf')   ; Open a file. 
; ... other CDF_ commands ... 
CDF_CLOSE, id ; Close the cdf file. 

Version History

Introduced: Pre 4.0


Home | Categories | Alphabetical | Classes | All Contents | [ < ] | [ > ]