Generate a globally unique ID

UID = GENERATE_GUID creates a universally unique identifier (UUID).

You are now following this Submission

UID = generate_guid creates a universally unique identifier (UUID). A UUID represents a 128-bit value. For more information including algorithms used to create UUIDs, see RFC 4122: A Universally Unique IDentifier (UUID) URN Namespace, section 4.2 "Algorithms for Creating a Time-Based UUID".

Cite As

Changjiang Yang (2026). Generate a globally unique ID (https://www.mathworks.com/matlabcentral/fileexchange/37996-generate-a-globally-unique-id), MATLAB Central File Exchange. Retrieved .

Categories

Find more on Share and Distribute Software in Help Center and MATLAB Answers

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0