Clear Filters
Clear Filters

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

1 view (last 30 days)
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

Answers (1)

Nihal
Nihal on 30 Jan 2024
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

Categories

Find more on Simulink Coder in Help Center and File Exchange

Products


Release

R2022b

Community Treasure Hunt

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

Start Hunting!