How to embed SVN revision number into simulink .slx models ?
4 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Previously when using the older simulink .mdl files, I used the subversion $Id$ tag in the "Model Info" simulink block using the svn:keyword substitution. For example, the "Model Info" block would display something like:
$Id: test.mdl 110 2009-04-28 05:20:41Z jl $
This worked because the .mdl files were text files. However, the newer simulink .slx are binary files so the keyword substitution will not work.
Is there a way around this without having to use the built-in SVN integration ?
I simply want my .slx model and library files to display a text box with the SVN revision number.
Would a possible solution be to use the DOS command SubWCRev.exe (I already use this for my source and header text files) ?
2 commentaires
Doug Rilee
le 18 Jan 2017
Hello John,
Did you ever find a solution to the above question? I am also looking for something like this to add to the model.
Kind regards, Doug
Réponses (0)
Voir également
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!