This is a simple tool for generating universal unique identifiers (UUID) in MATLAB programs.
Many applications require UUID to identify things uniquely. However, MATLAB has not offered such function. I recognized this need when I was developing a matlab-based system, and thus developed this tool.
The tool supports both windows and Linux.
Dahua Lin (2020). UUID Generation (https://www.mathworks.com/matlabcentral/fileexchange/21709-uuid-generation), MATLAB Central File Exchange. Retrieved .
on linux, you can also use system('uuidgen'). On Windows, you can create a simple vbs script: http://superuser.com/questions/155740/how-can-i-generate-a-uuid-from-the-command-line-in-windows-xp
another option (for mac users at least):
[s,UUID] = system('uuidgen');
For those who run newer versions of MATLAB with the JVM installed, there is a simple one-liner:
UUID = java.util.UUID.randomUUID
Inspired: Simple Network Information Server (SNIS)
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!