A MEX file to calculate a GUID. A Globally Unique Identifier or GUID is a pseudo-random number used in software applications. Each generated GUID is "statistically guaranteed" to be unique. This is based on the simple principle that the total number of unique keys ( or ) is so large that the possibility of the same number being generated twice is virtually zero.
mex CreateGuid.c rpcrt4.lib
I also tried to implement with .net but I found it to be much slower when needing a lot of GUIDs.
MATLAB 7.2 (R2006a)
Tested under Microsoft Visual Studio 6. I will test and/or develop this under MAC OSX and VS 7.1 when I have the resources available.