How can I stream data form MATLAB to Simulink in real time?

조회 수: 16 (최근 30일)
Kidus Guye
Kidus Guye 2017년 7월 22일
답변: Larasmoyo Nugroho 2017년 9월 12일
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?

채택된 답변

Ankitha Kollegal Arjun
Ankitha Kollegal Arjun 2017년 7월 25일
The following documentation might guide you in the right direction:

추가 답변 (1개)

Larasmoyo Nugroho
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

카테고리

Help CenterFile Exchange에서 Block and Blockset Authoring에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by