Borrar filtros
Borrar filtros

Multiple Gotos found with tag named 'LibraryTag'

12 visualizaciones (últimos 30 días)
Friedrich Welck
Friedrich Welck el 21 de Feb. de 2024
Comentada: Friedrich Welck el 11 de Mzo. de 2024
I have quite the large model making extensive use of the specialized theory power system blocks.
I get the Error message multiple gotos found with tag named 'LibraryTag' with a 50% chance every time I update the model. This used to be a lot less likely (maybe 1% chance) but it is getting out of hand. Only solution is to close matlab and restart.
The message always pops up with the specialized theory blocks and some gotos used under the hood of those blocks. I have deleting the blocks and adding them again from the library. This helped a little, but did not get rid of the problem.
I am using Matlab 2019b. I cannot change from spezialized theory to simscape blocks, as this would be years worth of work.
How can I fix this?
Is this a known problem?

Respuestas (1)

Ayush
Ayush el 4 de Mzo. de 2024
Hello Friedrich,
Based on the description of your problem, to reduce the frequency of the error message “multiple gotos found with tag”, you would need to first check for duplicate tags across all the “Goto” block across the model including those defined under the “Specialised Power Systems” blockset.
Once you have that information, you can check the scope of each such duplicate “Goto” block with the tag named “LibraryTag” and limit the scope of the blocks with respect to the required visibility. For more information on “Goto” block and its tag visibility you can refer to the below documentation:
Hope this helps!
  1 comentario
Friedrich Welck
Friedrich Welck el 11 de Mzo. de 2024
Every block of the blockset "Specialized Power Systems" has the duplicate goto.
This is not my own library, it's an official matlab simulink library.
All blocks of this library have gotos and they all reference to "LibraryTag". As soon as you drag this block from the library to your model the reference "LibraryTag" ist replaced by a unique hash. So then the goto references something like "12rafdgwbv24vlask23".
But sometimes, when I load my model, the "LibraryTag" references are not replaced by a hash. And now they all point to the same destination "LibraryTag". This used to happen very very rarely, but now it happens with a 50 percent chance. So i have a 50% chance, that my simulation won't run.
It's not something I can change on my end, as I am using official matlab simulink blocks that contain these gotos on a very low level.
I need an explanation, why these hashes randomly are not inserted and how to fix that.

Iniciar sesión para comentar.

Categorías

Más información sobre Trimming and Linearization en Help Center y File Exchange.

Productos


Versión

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by