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.

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

Related Examples

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 website.

For copyright information, see the cdfcopyright.txt file.

Was this topic helpful?