How to change the version of simulink model?

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
Kuldeep Singh on 30 Sep 2019
Edited: Kuldeep Singh on 30 Sep 2019
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.
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

Asked:

on 21 Aug 2019

Community Treasure Hunt

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

Start Hunting!