How can I punt Link in URI

2 visualizzazioni (ultimi 30 giorni)
bashar jaljolie
bashar jaljolie il 12 Mag 2021
Risposto: Deepak Meena il 28 Giu 2021
import matlab.net.*
import matlab.net.http.*
Link = ['http:/LineRef.com]
r = RequestMessage;
uri = URI(Link);
resp = send(r,uri);

Risposte (1)

Deepak Meena
Deepak Meena il 28 Giu 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

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by