Hauptinhalt

regmatlabserver

R2026b

(Not recommended) Register current MATLAB as COM server

regmatlabserver is not recommended. Use comserver instead.

Description

regmatlabserver registers the current MATLAB® executable as a COM Automation server. You must run MATLAB as an administrator to use this function. It is recommended that you use the comserver function instead.

[status,message] = regmatlabserver returns the status and error message, if any, reported by the operating system.

Output Arguments

collapse all

MATLAB registration status returned as 0 or nonzero. If the attempt to register MATLAB is successful, status is 0. Otherwise, status is nonzero.

System error message returned as a character vector if registration is unsuccessful.

Version History

Introduced before R2006a

collapse all