Register current MATLAB as COM server
regmatlabserver registers the current MATLAB® executable as a COM Automation server. You must run MATLAB as an
administrator to use this function. To register MATLAB as a COM server in the
local user account, call
MATLAB displays a minimized command window.
Register MATLAB as Automation Server
Start MATLAB with the Run as administrator option.
At the MATLAB prompt, type:
[s,msg] = regmatlabserver
s = 0 msg = ''
MATLAB successfully registered.
status — MATLAB registration status
0 | nonzero
MATLAB registration status returned as
nonzero. If the attempt to register MATLAB is successful,
status is nonzero.
message — System error message
System error message returned as a character vector if registration is unsuccessful.