Main Content

Simulink.ModelReference.ProtectedModel.clearPasswords

Clear cached passwords for protected models

Description

example

Simulink.ModelReference.ProtectedModel.clearPasswords() clears protected model passwords 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.

Examples

collapse all

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

Simulink.ModelReference.ProtectedModel.clearPasswords()
Introduced in R2014b