How to set the Model History information programmatically?
Ältere Kommentare anzeigen
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?
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Programmatic Model Editing finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

