Realtime feedback of Simulink signals in command line
1 次查看(过去 30 天)
显示 更早的评论
Hey There!
I run a simulink model in Simulink Desktop Real-time in external mode and I want to show feedback of some signals to user real time and without any delay.
I use logging signals to store signals to base workspace but it has delays about 0.5 second to refresh signal data.
I know that In normal mode, exact value of a block is accessable with this function. https://www.mathworks.com/help/simulink/ug/accessing-block-data-during-simulation.html
rto = get_param(gcb,'RuntimeObject')
rto.OutputPort(1).Data
but in external mode the returned value is 0
How can access a block data or a signal without any delay from command line?
Thanks
0 个评论
回答(1 个)
Roadrunner Development
2020-11-20
1 个评论
鋆宇 魏
2021-3-18
hi there, I am now using roadrunner, can you add my wechat 939490967, or contact me on tylorwang@bupt.edu.cn, to have a chat?
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Target Computer Setup 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!