Info

Questa domanda è chiusa. Riaprila per modificarla o per rispondere.

how to create a real time Simulink transfer block

3 visualizzazioni (ultimi 30 giorni)
aymen
aymen il 14 Feb 2013
Chiuso: MATLAB Answer Bot il 20 Ago 2021
I have a simple idea but I guess it's hard to implement it on simulink. I created a TCP/IP server between a BeagleBone and a simulink block using C code. I have a switch connected to the beagle bone as an input and my idea is to have a display on the simulink block showing if the switch is close or open. I couldn't do it because my client(simulink block) is a c code and it will do the job only once as C code ends the function execution after return to get the value of the switch. Do you guys know any simulink transfer mode or fancy C tip to transfer data between the Simulink client block and the display ?

Risposte (0)

Questa domanda è chiusa.

Community Treasure Hunt

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

Start Hunting!

Translated by