Using webwrite with MPS
6 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Fidel Ernesto Díaz Andino
el 30 de Ag. de 2019
Editada: Fidel Ernesto Díaz Andino
el 5 de Sept. de 2019
I´am using the "webwrite" function for making requests to a Matlab Production Server, the problem is that when the server takes too long to answer(and finally does answer) the function seems not to get the response and keep bloking until timeout, how can i solve the problem??? Thanks in advance.
2 comentarios
Kojiro Saito
el 31 de Ag. de 2019
Are you using actual Production Server instance, or on MATLAB (using Test Client mode)?
Respuestas (1)
Kojiro Saito
el 3 de Sept. de 2019
As this document is an example of calling MPS test client from MATLAB using matlab.net.http, but the description "Start a separate session of the MATLAB desktop. This is because you cannot send a POST request from the same MATLAB session that is running the testing interface." is also true to webwrite.
If you're launching MPS test client mode, you need to launch another MATLAB process to call webwrite. You can find MPS test client will accept incoming requsts as soon as webwrite is called from another MATLAB process.
4 comentarios
Fidel Ernesto Díaz Andino
el 4 de Sept. de 2019
Editada: Fidel Ernesto Díaz Andino
el 4 de Sept. de 2019
Fidel Ernesto Díaz Andino
el 5 de Sept. de 2019
Editada: Fidel Ernesto Díaz Andino
el 5 de Sept. de 2019
Ver también
Categorías
Más información sobre RESTful API en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!