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

12 vues (au cours des 30 derniers jours)
Kidus Guye
Kidus Guye le 22 Juil 2017
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?

Réponse acceptée

Ankitha Kollegal Arjun
Ankitha Kollegal Arjun le 25 Juil 2017
The following documentation might guide you in the right direction:

Plus de réponses (1)

Larasmoyo Nugroho
Larasmoyo Nugroho le 12 Sep 2017
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

Catégories

En savoir plus sur Block and Blockset Authoring dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by