Can any one help me?

It is easy to load a raster image from DICOM:
info = dicominfo('US-PAL-8-10x-echo.dcm');
Y = dicomread(info);
montage(Y, []);

But I want to store the raster image in a single DICOM file but I
can't do it. Usually it stores the raster image in a multiple files.

Does anyone know how to do it?