Simulink.ModelReference.ProtectedModel.setPasswordForModify(model,password) adds
a password for a modifiable protected model. After the password has
been created, the function provides the password for modifying the
protected model.
Create a modifiable protected model with support
for code generation, then modify it to add Web view support.
Add the password for when a protected model is modified.
If you skip this step, you are prompted to set a password when a modifiable
protected model is created.
Model name, specified as a string or character vector. It contains
the name of a model or the path name of a Model block that references
the protected model to be modified.
password — Password to modify protected model string or character vector
Password, specified as a string or character vector. The password
is required for modification of the protected model.
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.