Embed Version/Git Hash Information into Compiled Executable

11 Ansichten (letzte 30 Tage)
Corey
Corey am 20 Jan. 2021
Beantwortet: Alay Dhagia am 7 Okt. 2022
Is there a way to add executable information when compiling the matlab code into executable. For example if i wanted to embed GIT hash information when compiling so that the exact version of the software that was used to compile the executable could be tracked.

Antworten (1)

Alay Dhagia
Alay Dhagia am 7 Okt. 2022
Hi Corey,
I understand that you are trying to create a standalone application and want to insert GIT hash information as metadata.
You can insert the metadata int “Description” of “Additional Information” while compiling the MATLAB program into a standalone application.
Kindly refer to the following documentation for more information:

Kategorien

Mehr zu Source Control finden Sie in Help Center und File Exchange

Produkte


Version

R2019b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by