Save changes in DICOM images

Hi All,

I made some changes in pixel values of a DICOM image. Now, I need to save the changes in the image. I am trying to do this using matlab. Any leads?

Thank you!!