Simulink.ProtectedModel.sign(protectedModel,certificateFile)
attaches a digital signature with the certificate certificateFile to the
protected model protectedModel.
protectedModel — Name of protected model character vector | string scalar
Name of the protected model that you want to sign, specified as a character vector
or string scalar. The protected model has a .slxp extension.
Example: 'my_model.slxp'
certificateFile — Certificate file to use for signing character vector | string scalar
Certificate file to use for signing the protected model, specified as a character
vector or string scalar. The certificate must be a PKCS #12 file with the extension
.pfx or .p12.