필터 지우기
필터 지우기

TCP/IP & UDP transfer data

조회 수: 6 (최근 30일)
ChangKi Sung
ChangKi Sung 2018년 4월 8일
댓글: Walter Roberson 2018년 4월 9일
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.

답변 (1개)

Walter Roberson
Walter Roberson 2018년 4월 8일
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
ChangKi Sung
ChangKi Sung 2018년 4월 9일
Hi, I saw that web page. I tried to use the TCP/IP specific to Parrot, but I could not find the 'Simulink Support Package for PARROT Minidrones' on the Simulink Library browser. Isn't the Simulink Support Package for PARROT Minidrones' for hardware implementation?
Thank you
Walter Roberson
Walter Roberson 2018년 4월 9일
The support package covers both deploying to hardware and communicating from a hosted Simulink to hardware.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Parrot Minidrones에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by