Realtime Application, how to control stamped file properties (such as version numbers and other)?
1 view (last 30 days)
Show older comments
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](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1583226/file_properties_rsl.png)
0 Comments
Answers (1)
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
0 Comments
See Also
Categories
Find more on Simulink Coder in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!