Clear Filters
Clear Filters

How can I punt Link in URI

2 views (last 30 days)
bashar jaljolie
bashar jaljolie on 12 May 2021
Answered: Deepak Meena on 28 Jun 2021
import matlab.net.*
import matlab.net.http.*
Link = ['http:/LineRef.com]
r = RequestMessage;
uri = URI(Link);
resp = send(r,uri);

Answers (1)

Deepak Meena
Deepak Meena on 28 Jun 2021
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

Tags

Community Treasure Hunt

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

Start Hunting!