import matlab.net.*
import matlab.net.http.*
Link = ['http:/LineRef.com]
r = RequestMessage;
uri = URI(Link);
resp = send(r,uri);

답변 (1개)

Deepak Meena
Deepak Meena 2021년 6월 28일

0 개 추천

Hi,
From my understanding you want to use matlab functions such as URI and send from the python. But this is not the correct way to call matlab functions from the python .
Usually we first call matlab.engine. to connect to the matlab . then we call the matlab functions.
Refer to this doc for more detailed examples
Thanks
Deepak

카테고리

도움말 센터File Exchange에서 Call Web Services from MATLAB Using HTTP에 대해 자세히 알아보기

태그

질문:

2021년 5월 12일

답변:

2021년 6월 28일

Community Treasure Hunt

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

Start Hunting!

Translated by