I am creating a standalone application having Version and Build number stored in a MAT file. I want auto-increment of the build number every time i compiled the code to create the standalone application. It has to take the previous build number from MAT file and increment by 1 and save it again in same MAT file before compiling the code.
I have tried by using 'startup.m' file. But it is incrementing the build number every time i opened the standalone application. Do you have any idea regarding auto increment of the build number before compiling the application every time..?