TCP/IP & UDP transfer data
4 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
I am trying to transfer data through TCP/IP or UDP communication box.
But, I am getting this error when I deploy the simulink model into the quadcopter.
Does anyone know how to solve this problem?
Error Message ---------------------------------------------------------------------------------------------------
Level-2 MATLAB S-function 'sudprb' in 'flightControlSystem/Flight Control System/UDP Receive' specifies 'SetSimViewingDevice(true)' , which prevents an output port from being created for the S-function.
----------------------------------------------------------------------------------------------------------------------
- The UDP send box is connected with MUX.
0 Kommentare
Antworten (1)
Walter Roberson
am 8 Apr. 2018
It appears that it makes a difference whether you are using the TCP/IP from the Instrument Control toolbox (which cannot be deployed) or the TCP/IP specific to Parrot
https://www.mathworks.com/help/supportpkg/parrot/examples/communicating-with-parrot-minidrone-using-tcpip-and-udp.html
The error you are getting is described as https://www.mathworks.com/matlabcentral/answers/349868-what-is-setsimviewingdevice#answer_275662, which can be summarized as "There is no support for deploying the block you are using"
2 Kommentare
Walter Roberson
am 9 Apr. 2018
The support package covers both deploying to hardware and communicating from a hosted Simulink to hardware.
Siehe auch
Kategorien
Mehr zu Simulink Supported Hardware finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!