Main Content

MATLAB Not Responding to Web Requests Made to Test Server

Issue

When testing the integration of client code with MATLAB® functions using the Production Server Compiler app, if your client code makes web requests from the same MATLAB session as the local test server, MATLAB stops responding. This issue can occur, for example, when making RESTful API calls using functions such as webread and webwrite or when using the MATLAB HTTP Interface.

Possible Solutions

Open a separate session of MATLAB and make your client web requests to the local test server from the new session.

Related Topics