Documentation

This is machine translation

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

我们为许可用户提供了部分翻译好的中文文档。您只需登录便可查阅这些文档

matlab.io.fits.writeDate

Write DATE keyword to CHU

Syntax

writeDate(FPTR)

Description

writeDate(FPTR) writes the DATE keyword to the CHU.

This function corresponds to the fits_write_date (ffpdat) function in the CFITSIO library C API.

Examples

import matlab.io.*
fptr = fits.createFile('myfile.fits');
fits.createImg(fptr,'byte_img',[100 200]);
fits.writeDate(fptr);
fits.closeFile(fptr);
fitsdisp('myfile.fits','mode','full');
Was this topic helpful?