Unable to delete derived entry in sldd

6 views (last 30 days)
user
user on 13 Feb 2024
Answered: Githin George on 28 Aug 2024
When I try to delete data dictionary (*.sldd) entries, I get the error "Unable to delete derived entry".
I searched for this error in the documentation and online but could not find what is the cause of this error.
  1 Comment
Suman
Suman on 30 Jul 2024
Please provide some details as to how to created these entries.

Sign in to comment.

Answers (1)

Githin George
Githin George on 28 Aug 2024
I am assuming that you might be using "Interface Dictionaries" and linking it to the "Data Dictionary" in the Simulink model.
The error message suggests that the entry that you are trying to delete is "derived". In a more general context, this would mean that the some of the property attributes are computed from some parent property, which i believe in this case could be defined in the "Interface Dictionary".
If the above assumptions do not hold, please check if your data dictionary is referencing other SLDD dictionaries and kindly provide more information to debug the issue. Also you could try checking the information in the "Design Data" section for the Data Dictionary in the Model Explorer. Specifically, you could try inspecting the "DataSource" field in the Model Explorer UI to see if it is showing unexpected values.
Refer to the following documentation for more information on "Interface Dictionaries":

Categories

Find more on Programmatic Model Editing in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!