How to embed SVN revision number into simulink .slx models ?

4 vues (au cours des 30 derniers jours)
John Lintern
John Lintern le 22 Sep 2015
Commenté : Raj le 2 Nov 2020
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
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
Raj
Raj le 2 Nov 2020
Hello all,
Do we have a working solution for this yet?

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Modeling dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by