Main Content

dicomuid

Generate DICOM globally unique identifier

Description

example

uid = dicomuid returns a new DICOM globally unique identifier, uid. The function generates a unique value each time it is called. Two calls to dicomuid always return different values.

Examples

collapse all

Generate a new DICOM globally unique identifier uid.

uid = dicomuid
uid = 
'1.3.6.1.4.1.9590.100.1.2.351696976011078532723666208590228528750'

Output Arguments

collapse all

DICOM globally unique identifier, returned as a character vector.

Data Types: char

Version History

Introduced before R2006a