How can I stream data form MATLAB to Simulink in real time?
16 次查看(过去 30 天)
显示 更早的评论
I was trying to use S-function block but, it gathers the value one at the beginning of the simulation. I want to stream the data continuously in real-time How can I get the data continuously in real-time is there some stuff I have to add in my S-function in order to get that?
0 个评论
采纳的回答
Ankitha Kollegal Arjun
2017-7-25
The following documentation might guide you in the right direction:
0 个评论
更多回答(1 个)
Larasmoyo Nugroho
2017-9-12
get_param('tesloopsimin/Constant','Value') ==> MDL=tesloopsimin.mdl, block=Constant, parameter=Value
get_param('tesloopsimin/Sine Wave','DialogParameters') ==> show parameter existed in block
find_system('tesloopsimin','Type','Block') ==> show block existed in MDL
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Block and Blockset Authoring 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!