How can I punt Link in URI

조회 수: 1 (최근 30일)
bashar jaljolie
bashar jaljolie 2021년 5월 12일
답변: Deepak Meena 2021년 6월 28일
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일
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

카테고리

Help CenterFile Exchange에서 Call Web Services from MATLAB Using HTTP에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by