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 Center および File ExchangeCall 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