Main Content

Simulink.ModelReference.ProtectedModel.clearPasswordsForModel

Clear cached passwords for a protected model

Description

Simulink.ModelReference.ProtectedModel.clearPasswordsForModel(model) clears protected model passwords for model that have been cached during the current MATLAB® session. If this function is not called, cached passwords are cleared at the end of a MATLAB session.

example

Examples

collapse all

After using a protected model, clear passwords cached for the model during the MATLAB session.

Simulink.ModelReference.ProtectedModel.clearPasswordsForModel(model)

Input Arguments

collapse all

Model name specified as a string or character vector

Example: CounterModel

Data Types: char

Version History

Introduced in R2014b