Realtime Application, how to control stamped file properties (such as version numbers and other)?

1 次查看(过去 30 天)
I am using Simulink Coder (MATLAB 2022b) to build realtime applications from my Simulink models.
When I look at the file properties of the finished rsl-file (i.e. right click on "MyModel.rsl" > properties) i see information like the ModelVersion. This information is stamped into the file. (i.e. when opening the rsl using (for instance with 7zip) the given information is part of the .rsrc/version.txt)
How can I control if more/other information is also included here? (For example a CommitID or any other build information that I can pass at the beginning of the build process, very like as a String.)
file_properties_rsl.png

回答(1 个)

Nihal
Nihal 2024-1-30
Hello Mirco,
I recognize your need to include a version number in the application details. Please consult the provided answer that addresses this issue comprehensively and offers a detailed solution.
I hope it helps

类别

Help CenterFile Exchange 中查找有关 Simulink Coder 的更多信息

产品


版本

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by