Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

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

조회 수: 1 (최근 30일)
Jason Nicholson
Jason Nicholson 2018년 3월 10일
마감: MATLAB Answer Bot 2021년 8월 20일
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.

답변 (1개)

Jason Nicholson
Jason Nicholson 2018년 3월 21일
편집: Jason Nicholson 2018년 5월 2일
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.

태그

Community Treasure Hunt

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

Start Hunting!

Translated by