Can't delete Parameter Interfaces even if they are not used by the model.
2 views (last 30 days)
Show older comments
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.
0 Comments
Answers (1)
Ayush
on 24 Jul 2024
Edited: Ayush
on 24 Jul 2024
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!
0 Comments
See Also
Categories
Find more on Simulink Functions 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!