Display text in block properties dynamically
2 views (last 30 days)
Show older comments
Lucas on 13 Sep 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
Sachin Ganjare on 14 Sep 2012
Probably you will find below link useful:
Hope it helps!!!!!
More Answers (0)
Find more on Scopes and Data Logging in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!