Display text in block properties dynamically
3 次查看(过去 30 天)
显示 更早的评论
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 个评论
采纳的回答
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Sources 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!