Info

Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.

What are your thoughts on Simulink libraries that link to themselves?

1 Ansicht (letzte 30 Tage)
Jason Nicholson
Jason Nicholson am 10 Mär. 2018
Geschlossen: MATLAB Answer Bot am 20 Aug. 2021
What are your thoughts on Simulink libraries that link to themselves? They seems to break quite often as you are developing them making me think this is a bad idea. They break when you rename the library which just seems silly.
Everything is ok:
I break the link by moving the linked block:
Lastly, I change the library's name from "Example" to "Example1" and the link breaks.
Attached is the Example simulink file.

Antworten (1)

Jason Nicholson
Jason Nicholson am 21 Mär. 2018
Bearbeitet: Jason Nicholson am 2 Mai 2018
I don't like this behavior. I think it is troublesome and easy to break. I am a blockset author and I don't see how this is good practice for maintainability. It is just to easy to break.
Instead make another library of components that repeatedly used. The links to this are much easier to maintain.

Diese Frage ist geschlossen.

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by