Main Content

Simulink.ModelReference.ProtectedModel.clearPasswords

Clear cached passwords for protected models

Description

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.

example

Examples

collapse all

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

Simulink.ModelReference.ProtectedModel.clearPasswords()

Version History

Introduced in R2014b