MATLAB Answers

1

Display text in block properties dynamically

Is there a way to set something up in the block properties that will display text dynamically?
We have some objects that link from RMI to DOORs and we'd like to display that info below the block, so we can see which ones have requirements and which ones don't. Thats easy enough to do but if they update the link in RMI the text isn't updated and that has to be manually changed. So I was wondering if there was a way I could set/create a field in the block parameters that could update when the link is created/modified/deleted. This is the dialog box that I was planning on working with:
I can use this to determine how many links an object has:
cnt = rmi('count', object)
so if an object has multiple links I can display them all. What would be the best way for me to approach this, would it be possible for me to write a script that can be called when am RMI link is updated or am I out of luck and will have to keep updating it manually?
EDIT: Fixed link

  댓글 수: 0

로그인 to comment.

답변 수: 1

Sachin Ganjare 님의 답변 14 Sep 2012
 채택된 답변

Probably you will find below link useful:
Hope it helps!!!!!

  댓글 수: 0

로그인 to comment.



Translated by