Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

dicomdict

Get or set active DICOM data dictionary

Syntax

dicomdict('set',dictionary)
dictionary = dicomdict('get')
dicomdict('factory')

Description

dicomdict('set',dictionary) sets the Digital Imaging and Communications in Medicine (DICOM) data dictionary to the value stored in dictionary, a string scalar or character vector containing the filename of the dictionary. DICOM-related functions use this dictionary by default, unless a different dictionary is provided at the command line.

dictionary = dicomdict('get') returns a string or character vector containing the filename of the stored DICOM data dictionary.

dicomdict('factory') resets the DICOM data dictionary to its default startup value.

Note

The default data dictionary is a MAT-file, dicom-dict.mat. The toolbox also includes a text version of this default data dictionary, dicom-dict.txt. If you want to create your own DICOM data dictionary, open the dicom-dict.txt file in a text editor, modify it, and save it under another name.

Examples

collapse all

Determine the name of the stored DICOM dictionary.

dictionary = dicomdict('get');

Introduced before R2006a

Was this topic helpful?