Simulink.ProtectedModel.addTarget
Add code generation support for current target to protected model
Description
Simulink.ProtectedModel.addTarget( adds code
    generation support for the target of the current model, specified by mdl)mdl,
    to a protected model of the same name. Each target that the protected model supports is
    identified by the root of the System target file configuration parameter. For
    example, if the System target file is ert.tlc, the
    target identifier is ert.
To add the current target:
- The model and the protected model of the same name must be on the MATLAB® path. 
- The protected model must have the - Modifiableoption enabled and have a password for modification.
- The target must be unique in the protected model. 
If you add a target to a protected model that did not previously
support code generation, the software switches the protected model Mode to CodeGeneration and ObfuscateCode to true.