필터 지우기
필터 지우기

tcpclient codegen fail MATLAB2020b

조회 수: 6 (최근 30일)
Thibaut Normand
Thibaut Normand 2021년 1월 20일
답변: Ramakrishna Mandalapu 2021년 7월 19일
Hello,
I'm trying to compile an application for an NVIDIA JETSON TX2 board using codegen
In the application, i use :
t=tcpclient("10.10.10.201",20000);
end then write to the server.
I've connected both my NVIDIA board and my tcp server to the same network as my MATLAB host.
The commands work from MATLAB console but when i try to generate code and compile using codegen, I get the following error:
"In order to generate code from AsyncIO, the target hardware must be a MATLAB host or a compatible device"
Does anybody knows what the issue is here? or has a turnaround?
Is it possible to use a special main file to create the socket and pass it to my function?
  댓글 수: 2
Walter Roberson
Walter Roberson 2021년 1월 20일
Is it an error message or a warning?
Thibaut Normand
Thibaut Normand 2021년 1월 20일
It is an error, the faulty line is indicated in my .m file and an error report is generated.

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

답변 (1개)

Ramakrishna Mandalapu
Ramakrishna Mandalapu 2021년 7월 19일
Hi Thibaut,
'tcpclient' is not supported for deployment on the NVIDIA Jetson.
From the error message it is clear that the generated code can only be run on the host platforms. We will register you requirement and optimize our code in the future releases.
Thanks,
Ramakrishna

제품


릴리스

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by