Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

regmatlabserver

Register current MATLAB as Automation server

Syntax

regmatlabserver
[status,message] = regmatlabserver

Description

regmatlabserver registers the current MATLAB® executable as an Automation server.

example

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

Examples

collapse all

Start MATLAB with the Run as administrator option.

At the MATLAB prompt, type:

[s,msg] = regmatlabserver
s =

     0


msg =

     ''

MATLAB successfully registered.

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.

Introduced before R2006a

Was this topic helpful?