i use a Simulink block function for tcpip communication in which i wrote the code in description but when i run i have an error mesage saying in description
Ältere Kommentare anzeigen
Message error : The tcpip class does not support code generation Function y = fcn () t = tcpip('localhost', 7777, 'NetworkRole', 'client'); fopen(t); while true data = fscanf(t,'%c');G y = data; end
Antworten (1)
Dimitri MANKOV
am 7 Dez. 2021
0 Stimmen
Hi Brian,
In case you are using Simulink Real-Time, I'd suggest using the TCP/IP blocks from the Simulink Real-Time library instead.
Hope this is helpful!
Kategorien
Mehr zu System Configuration finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!