Embed Version/Git Hash Information into Compiled Executable

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.

回答 (1 件)

Alay Dhagia
Alay Dhagia 2022 年 10 月 7 日

0 投票

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:

1 件のコメント

Alexander
Alexander 2025 年 3 月 28 日
Unfortunately, I believe the link above refers to the wrong content

サインインしてコメントする。

カテゴリ

ヘルプ センター および File ExchangeApplication Deployment についてさらに検索

製品

リリース

R2019b

質問済み:

2021 年 1 月 20 日

コメント済み:

2025 年 3 月 28 日

Community Treasure Hunt

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

Start Hunting!

Translated by