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.

iccfind

Search for ICC profiles

Syntax

P = iccfind(directory)
[P, descriptions] = iccfind(directory)
[...] = iccfind(directory, pattern)

Description

P = iccfind(directory) searches for all of the International Color Consortium (ICC) profiles in the directory specified by directory. The function returns P, a cell array of structures containing profile information.

[P, descriptions] = iccfind(directory) searches for all of the ICC profiles in the specified directory and returns P, a cell array of structures containing profile information, and descriptions, a cell array of character vectors, where each character vector describes the corresponding profile in P. Each character vector is the value of the Description.String field in the profile information structure.

[...] = iccfind(directory, pattern) returns all of the ICC profiles in the specified directory with the given pattern in their Description.String fields. iccfind performs case-insensitive pattern matching.

Note

To improve performance, iccfind caches copies of the ICC profiles in memory. Adding or modifying profiles might not change the results of iccfind. To clear the cache, use the clear functions command.

Examples

collapse all

Get all the International Color Consortium (ICC) profiles in the default system directory where profiles are stored.

profiles = iccfind(iccroot)
profiles =

  2×1 cell array

    [1×1 struct]
    [1×1 struct]

Get a listing of all the ICC profiles with descriptions.

[profiles, descriptions ] = iccfind(iccroot)
profiles =

  2×1 cell array

    [1×1 struct]
    [1×1 struct]


descriptions =

  2×1 cell array

    'Agfa : Swop Standard      '
    'sRGB IEC61966-2.1'

Find profiles whose descriptions contain the character vector 'rgb'.

[profiles, descriptions] = iccfind(iccroot, 'rgb')
profiles =

  cell

    [1×1 struct]


descriptions =

  cell

    'sRGB IEC61966-2.1'

Introduced before R2006a

Was this topic helpful?