Documentation

라이선스가 부여된 사용자만 번역 문서를 볼 수 있습니다. 번역 문서를 보려면 로그인하십시오.

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?