Question
Currently, Simulink can be configured to prompt for a comment each time a model is saved. I do not want it to increment the version number on its own, so I have removed the AutoIncrement macro in the History section of Model properties. Although, I would like to have the option of choosing the model version number along with the message each time when saving the model if possible so as to increment both major and minor releases at my own pace, conveniently, and without forgetting. Currently using MATLAB 2017b
Expert Answer
Neeta Dsouza
PhD Expert
Answered Aug 24, 2026
This might be possible using model callbacks, but it would have to be added to every model manually, or to the default Simulink template.
EX:
open the model
set_param(bdroot, 'presavefcn', 'str=inputdlg;set_param(bdroot, ''ModelVersionFormat'', str{1})')
100% Run Guarantee
3-Hour Fast-Track Delivery
Need a Custom Version or Complete Simulation for This Problem?
Our 500+ PhD engineers build, debug, and optimize working MATLAB scripts and Simulink (.slx) models tailored to your exact assignment rubrics with zero plagiarism.
Tested on MATLAB R2024b / R2026a
Turnitin 0% Plagiarism Report
Free 7-Day Revisions Guarantee
Have a different question? Ask here
Related simulink Questions & Solutions
Browse All →
Explore similar technical troubleshooting questions and verified MATLAB solutions:
Ready-to-Run MATLAB & Simulink Projects
Browse All Projects →