Documentation Center

  • Trial Software
  • Product Updates

cdflib.getCopyright

Copyright notice in Common Data Format (CDF) file

Syntax

copyright = cdflib.getCopyright(cdfId)

Description

copyright = cdflib.getCopyright(cdfId) returns the copyright notice in the CDF file identified by cdfId.

Examples

Create a CDF file, and then get the copyright notice in the file. To run this example, you must be in a writable folder.

cdfId = cdflib.create('your_file.cdf');

copyright  = cdflib.getCopyright(cdfId)

copyright =

Common Data Format (CDF)
(C) Copyright 1990-2009 NASA/GSFC
Space Physics Data Facility
NASA/Goddard Space Flight Center
Greenbelt, Maryland 20771 USA
(Internet -- CDFSUPPORT@LISTSERV.GSFC.NASA.GOV)

% Clean up.
cdflib.delete(cdfId)
clear cdfId

References

This function corresponds to the CDF library C API routine CDFgetCopyright.

To use this function, you must be familiar with the CDF C interface. Read the CDF documentation at the CDF Web site.

For copyright information, see the cdfcopyright.txt file.

See Also

Tutorials

Was this topic helpful?