Display text in block properties dynamically

2 visualizaciones (últimos 30 días)
Lucas
Lucas el 13 de Sept. de 2012
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

Respuesta aceptada

Sachin Ganjare
Sachin Ganjare el 14 de Sept. de 2012
Probably you will find below link useful:
Hope it helps!!!!!

Más respuestas (0)

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by