Error while trying the option protected model

3 views (last 30 days)
Ganapathi
Ganapathi on 19 Aug 2024
Edited: Saurabh on 20 Aug 2024
Hello team,
we are trying our model to get protected. But while giving the protected model option we are getting an error "Index exceeds the number of array elements. Index must not exceed 0
"

Answers (1)

Saurabh
Saurabh on 20 Aug 2024
Edited: Saurabh on 20 Aug 2024
Hi Ganapathi,
It appears that you are encountering an error while attempting to protect your model. After reviewing the warning in the provided screenshot and consulting the official documentation, I discovered something similar.
It states that if a top model references two protected models that have a naming conflict, you cannot protect the top model.
Refer to the Protected Model Requirements and Limitations section of this link:
I hope this was helpful.

Products


Release

R2024a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!