Call php file in local host from Matlab?

8 vues (au cours des 30 derniers jours)
Ferdinand Loera
Ferdinand Loera le 21 Août 2017
down vote favorite
I have a .php file that returns information correctly when called by typing localhost/lolo/readInfo.php in my browser. When I try opening this url in Matlab with webread() or urlread() I get the following message:
The '' protocol specified in URL, 'localhost/lolo/readInfo.php', is not supported. Specify the URL with the protocol 'http://' or 'https://'.
Which other function could I use to get the information using Matlab? Wampserver is running and the .php file uses the functions curl_init, curl_setopt, curl_exec

Réponses (0)

Catégories

En savoir plus sur Call Web Services from MATLAB Using HTTP dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by