Hi Suraj,
I understand that you want to check whether there is a unique ID for the MATLAB project.
Currently, there is no property that implies to an unique ID, but as a workaround, you can use the project "description" property to keep a unique ID since any update made to the project doesn't affect its description. Alternately, you can generate some UUID and store it in the project that MATLAB could read.
You can refer to the following documentation to learn more about the MATLAB project.
I hope this helps!