Get/Set ColorSync Profile?

Hi all. Is there a way to get and/or set the active colorsync profile of
a monitor from within Matlab? Right now I'm using an Applescript solution
that works but is not exactly elegant.

Thanks,
Charles.

----------------------------------------------------------------------
Dr. Charles A. Collin,
Psychology Department,
Dalhousie University,
Halifax, NS. Canada.
B3H 4J1

Phone: 902-494-7025
Fax : 902-494-6585