Unable to delete derived entry in sldd

6 次查看(过去 30 天)
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 个)

Githin George
Githin George 2024-8-28
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":

类别

Help CenterFile Exchange 中查找有关 Programmatic Model Editing 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by