Display text in block properties dynamically

조회 수: 4 (최근 30일)
Lucas
Lucas 2012년 9월 13일
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

채택된 답변

Sachin Ganjare
Sachin Ganjare 2012년 9월 14일
Probably you will find below link useful:
Hope it helps!!!!!

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Create Large-Scale Model Components에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by