Can't delete Parameter Interfaces even if they are not used by the model.

5 次查看(过去 30 天)
I have a model that uses this parameter interface: Interface_TM_TP. When I try to delete it, I encounter the following error, even though this interface no longer exists in the model and is not mapped to any port.
Note: This interface originally existed in a library which its link was disabled later. Subsequently, it was removed from mapping and deleted from the library block.

回答(1 个)

Ayush
Ayush about 11 hours 前
编辑:Ayush about 10 hours 前
Hello @oussama,
You can try to systematically debug this issue by following some of the below approaches that may help you in narrowing down on the root cause and also resolve the issue:
1. First check for any left hidden references of the interface library in the model components such as blocks, ports and unlink them if found. For an efficient approach, you can also leverage the which function in MATLAB to locate the file and its path. Please refer to the below documentation to know more about the which function:
2. You can also verify the dependencies on the library that contained the interface to check if any references are still present. You can also use the "Dependency Analyzer" released in MATLAB R2023a to visualise any remnant dependencies. Please refer to the below documentation to know more about the "Dependency Analyzer":
3. Lastly, you can restart MATLAB to clear the cached information or temporary data that can cause issues. The rehash function can also be used as an alternate to refresh the files and paths. Please refer to the below documentation to know more about the rehash function:
Hope it helps!

类别

Help CenterFile Exchange 中查找有关 Modeling 的更多信息

标签

产品


版本

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by