dicomuid

Generate DICOM globally unique identifier

Syntax

uid = dicomuid

Description

example

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

Examples

collapse all

uid = dicomuid;
uid =

    '1.3.6.1.4.1.9590.100.1.2.175741451111074450825785263691655840705'

Output Arguments

collapse all

DICOM globally unique identifier, returned as a character vector.

Data Types: char

Introduced before R2006a