If I start a webservice rest API, how do I go about clearing it after it's finished/closed?
For example, let's create the service called "myService" that allows access to function addNumbers
service = restFunctionService("myService",["addNumbers"]);
I can run
or even
However, if I try to run
restFunctionService("myService",["addNumbers"]);
again MATLAB complains that "myService" already exists (in fact it's even still visible in the restFunctionServices dictionary). Only way to recreate the service is by restarting MATLAB.
Also, is there anyway to set the user API key manually or set it to null?