Borrar filtros
Borrar filtros

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

5 visualizaciones (últimos 30 días)
oussama
oussama el 25 de Mzo. de 2024
Editada: Ayush hace alrededor de 10 horas
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.

Respuestas (1)

Ayush
Ayush hace alrededor de 11 horas
Editada: Ayush hace alrededor de 10 horas
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!

Categorías

Más información sobre Modeling en Help Center y File Exchange.

Etiquetas

Productos


Versión

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by