How to change the version of simulink model?
Show older comments
Hello,
I want to change the version information configuration of simulink model.
Currently if I save the model then the version is increased automatically but I don't want to use this function
so can I disable this automatic version incremental function?
In other words, I want to change the version information only when I want it.
Thank you.
Answers (2)
Kuldeep Singh
on 30 Sep 2019
Edited: Kuldeep Singh
on 30 Sep 2019
2 votes
You can change the model version under Model Explorer > History
If you want to disable it, remove the AutoIncrement Macro from the settings.

More details can be found here.
Tamás Zilahi-Szabó
on 17 Feb 2020
1 vote
If you want to change the model version, for example to 1.10, then:
>> set_param(bdroot,'Modelversionformat','1.10')
If you want to change the model version with Auto-Incrementation, then:
>> set_param(bdroot,'Modelversionformat','1.%<AutoIncrement: 10>')
This way, the second part (.10) will be automatically incremented, every time you save the model.
(R2017b)
Categories
Find more on Programmatic Model Editing 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!