- Incorrectly formatted destination struct
- Incorrect API usage
- DOORS version incompatibility
Trying to update link destination manually for link from Simulink to DOORS returns "Invalid destination is given" message
3 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
I have a model with links to DOORS that I need to update due to the DOORS module prefix changing (causing "Unmatched prefix in object ID X" messages in the MATLAB command window when trying to follow the link). I wrote a script to loop over all the links in the linkset and manually update the destination to replace the old module prefix string with the new one. However, when I try to call link.setDestination with the updated destination struct I get the error "Invalid destination is given" with no further details. I also get the same error when trying to call link.setDestination with the original destination struct, so it doesn't appear to be an issue with the modifications I'm making to the struct data.
0 Commenti
Risposte (2)
Sarthak
il 19 Apr 2023
Hi Andrew,
As per my understanding, there could be several reasons why you are getting the "Invalid destination is given" error when trying to update the destination of a link in your MATLAB script such as
You can verify the above-mentioned reasons; however, it may be difficult to pinpoint the exact reason for your error without your model and code
0 Commenti
Josh Kahn
il 21 Apr 2023
We are happy to help you work through this issue. Please reach out to our tech support so that we can take a closer look at what is going on with your specific application.
Regards,
Josh
0 Commenti
Vedere anche
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!