How to set the Model History information programmatically?
Show older comments
The Model Properties > History tab allows you to uncheck "Read Only" and then make modifications to the "Created by" and "Last saved by" fields (as well as the others).

Programmatically, the following code should change the field,
set_param(sys, 'LastModifiedBy', 'Ada');
however this error is thrown:

How can these model parameters be changed? Is there a way to programmatically unset the "Read Only" flag?
Accepted Answer
More Answers (0)
Categories
Find more on Programmatic Model Editing in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
