Julia for MATLAB Users/Core Language/Advanced Software Development

Advanced Software Development edit

Creating Classes edit

Class Syntax Guide edit

class Determine class of object edit

In Julia typeof() is essentially equivalent.

isobject Determine if input is MATLAB object edit

enumeration Class enumeration members and names edit

events Event names edit

methods Class method names edit

properties Class property names edit

Sample Class Implementations edit

classdef Class definition keywords edit

Class Definition edit

Class File Organization edit

classdef Class definition keywords edit
import Add package or class to current import list edit

Properties edit

properties Class property names edit
isprop Determine if property of object edit
mustBeFinite Validate that value is finite or issue error edit
mustBeGreaterThan Validate that value is greater than another value or issue error edit
mustBeGreaterThanOrEqual Validate that value is greater than or equal to another value or issue error edit
mustBeInteger Validate that value is integer or issue error edit
mustBeLessThan Validate that value is less than another value or issue error edit
mustBeLessThanOrEqual Validate that value is less than or equal to another value or issue error edit
mustBeMember Validate that value is member of specified set edit
mustBeNegative Validate that value is negative or issue error edit
mustBeNonempty Validate that value is nonempty or issue error edit
mustBeNonNan Validate that value is nonNaN edit
mustBeNonnegative Validate that value is nonnegative or issue error edit
mustBeNonpositive Validate that value is nonpositive or issue error edit
mustBeNonsparse Validate that value is nonsparse or issue error edit
mustBeNonzero Validate that value is nonzero or issue error edit
mustBeNumeric Validate that value is numeric or issue error edit
mustBeNumericOrLogical Validate that value is numeric or logical or issue error edit
mustBePositive Validate that value is positive or issue error edit
mustBeReal Validate that value is real or issue error edit
dynamicprops Superclass for classes that support dynamic properties edit
meta.DynamicProperty Describe dynamic property of MATLAB object edit
event.DynamicPropertyEvent Event data for dynamic property events edit
meta.property Describe property of MATLAB class edit
meta.Validation Describes property validation edit
meta.FixedDimension Fixed dimension in property size specification edit
meta.UnrestrictedDimension Unrestricted dimension in property size specification edit
meta.ArrayDimension Size information for property validation edit
matlab.lang.OnOffSwitchState Represent on and off states with logical values edit

Methods edit

methods Class method names edit
ismethod Determine if method of object edit
meta.method Describe method of MATLAB class edit

Handle Classes edit

isequal Determine array equality edit
eq Determine equality edit
handle Superclass of all handle classes edit
matlab.mixin.SetGet Provide handle classes with set and get methods edit
matlab.mixin.SetGetExactNames Require exact name match for set and get methods edit
dynamicprops Superclass for classes that support dynamic properties edit
matlab.mixin.Copyable Superclass providing copy functionality for handle objects edit

Events edit

events Event names edit
handle.notify Notify listeners that event is occurring edit
handle.addlistener Create event listener bound to event source edit
handle.listener Create event listener without binding to event source edit
event.hasListener Determine if listeners exist for event edit
event.EventData Base class for event data edit
event.listener Class defining listener objects edit
event.PropertyEvent Data for property events edit
event.proplistener Define listener object for property events edit

Class Hierarchies edit

Subclass Definition edit
superclasses Names of superclasses edit
matlab.mixin.Heterogeneous Superclass for heterogeneous array formation edit

Enumerations edit

enumeration Class enumeration members and names edit
isenum Determine if variable is enumeration edit
meta.EnumeratedValue Describe enumeration member of MATLAB class edit

Class Customization edit

Object Indexing edit

numArgumentsFromSubscript Number of arguments for customized indexing methods edit
subsref Redefine subscripted reference for objects edit
subsasgn Redefine subscripted assignment edit
subsindex Convert object to array index edit
substruct Create structure argument for subsasgn or subsref edit
builtin Execute built-in function from overloaded method edit

Object Arrays edit

empty Create empty array edit
matlab.mixin.Heterogeneous Superclass for heterogeneous array formation edit

Customize Object Display for Classes edit

display Used internally for command-window display edit
details Display array details edit
matlab.mixin.CustomDisplay Interface for customizing object display edit
matlab.mixin.util.PropertyGroup Custom property list for object display edit

Object Save and Load edit

saveobj Modify save process for object edit
loadobj Customize load process for objects edit

Class Editing edit

edit Edit or create file edit

Class Introspection and Metadata edit

metaclass Obtain meta.class object edit

meta.abstractDetails Find abstract methods and properties edit

meta.class.fromName Return meta.class object associated with named class edit

meta.package.fromName Return meta.package object for specified package edit

meta.package.getAllPackages Get all top-level packages edit

properties Class property names edit

methods Class method names edit

events Event names edit

superclasses Names of superclasses edit

meta.class Describe MATLAB class edit

meta.property Describe property of MATLAB class edit

meta.method Describe method of MATLAB class edit

meta.event Describe event of MATLAB class edit

meta.package Describe MATLAB package edit

meta.DynamicProperty Describe dynamic property of MATLAB object edit

meta.EnumeratedValue Describe enumeration member of MATLAB class edit

meta.MetaData Superclass for MATLAB object metadata edit

meta.ArrayDimension Size information for property validation edit

meta.Validation Describes property validation edit

meta.FixedDimension Fixed dimension in property size specification edit

meta.UnrestrictedDimension Unrestricted dimension in property size specification edit

System Objects edit

Use System Objects edit

step Run System object algorithm edit
clone Create duplicate System object edit
isLocked Determine if System object is in use edit
nargin Number of input arguments for System object edit
nargout Number of output arguments for System object edit
reset Reset internal states of System object edit
release Release resources and allow changes to System object property values and input characteristics edit
Create System Objects edit

matlab.System Base class for System objects edit

matlab.system.StringSet Set of valid character vector values edit

matlab.system.mixin.FiniteSource Finite source mixin class edit

Calling External Functions edit

Call MEX File Functions edit

mexext Binary MEX file-name extension edit

inmem Names of functions, MEX-files, classes in memory edit

Call C Shared Libraries edit

loadlibrary Load C/C++ shared library into MATLAB edit

unloadlibrary Unload shared library from memory edit

libisloaded Determine if shared library is loaded edit

calllib Call function in shared library edit

libfunctions Return information on functions in shared library edit

libfunctionsview Display shared library function signatures in window edit

libstruct Convert MATLAB structure to C-style structure for use with shared library edit

libpointer Pointer object for use with shared library edit

lib.pointer Pointer object compatible with C pointer edit

Call Java Libraries edit

import Add package or class to current import list edit

isjava Determine if input is Java object edit

javaaddpath Add entries to dynamic Java class path edit

javaArray Construct Java array object edit

javachk Error message based on Java feature support edit

javaclasspath Return Java class path or specify dynamic path edit

javaMethod Call Java method edit

javaMethodEDT Call Java method from Event Dispatch Thread (EDT) edit

javaObject Call Java constructor edit

javaObjectEDT Call Java constructor on Event Dispatch Thread (EDT) edit

javarmpath Remove entries from dynamic Java class path edit

usejava Determine if Java feature is available edit

matlab.exception.JavaException Capture error information for Java exception edit

Call .NET Libraries edit

Getting Started with Microsoft .NET edit

NET.addAssembly Make .NET assembly visible to MATLAB edit
NET.isNETSupported Check for supported Microsoft .NET Framework edit
NET Summary of functions in MATLAB .NET interface edit
enableNETfromNetworkDrive Enable access to .NET commands from network drive edit
NET.Assembly Members of .NET assembly edit
NET.NetException Capture error information for .NET exception edit

Data Types edit

cell Cell array edit
NET.createArray Array for nonprimitive .NET types edit
NET.disableAutoRelease Lock .NET object representing a RunTime Callable Wrapper (COM Wrapper) so that MATLAB does not release COM object edit
NET.enableAutoRelease Unlock .NET object representing a RunTime Callable Wrapper (COM Wrapper) so that MATLAB releases COM object edit

Properties edit

NET.setStaticProperty Static property or field name edit

Events and Delegates edit

BeginInvoke Initiate asynchronous .NET delegate call edit
EndInvoke Retrieve result of asynchronous call initiated by .NET System.Delegate BeginInvoke method edit
Combine Convenience function for static .NET System.Delegate Combine method edit
Remove Convenience function for static .NET System.Delegate Remove method edit
RemoveAll Convenience function for static .NET System.Delegate RemoveAll method edit

Enumerations edit

bitand Bit-wise AND edit
bitor Bit-wise OR edit
bitxor Bit-wise XOR edit
bitnot .NET enumeration object bit-wise NOT instance method edit

Generic Classes edit

NET.convertArray Convert numeric MATLAB array to .NET array edit
NET.createGeneric Create instance of specialized .NET generic type edit
NET.invokeGenericMethod Invoke generic method of object edit
NET.GenericClass Represent parameterized generic type definitions edit

Call COM Objects edit

actxserver Create COM server edit
actxcontrol Create Microsoft ActiveX control in figure window edit
actxcontrollist List currently installed Microsoft ActiveX controls edit
actxcontrolselect Create Microsoft ActiveX control from UI edit
eventlisteners List event handler functions associated with COM object events edit
methodsview View class methods edit
registerevent Associate event handler for COM object event at run time edit
unregisterallevents Unregister all event handlers associated with COM object events edit
unregisterevent Unregister event handler associated with COM object event at run time edit
iscom Determine whether input is COM or ActiveX object edit
isevent Determine whether input is COM object event edit
isinterface Determine whether input is COM interface edit
COM Access COM components and ActiveX controls from MATLAB edit

Call Python Libraries edit

Getting Started edit
pyversion Change default version of Python interpreter edit
pyargs Create keyword argument for Python function edit
matlab.exception.PyException Capture error information for Python exception edit
Data Types edit
pyargs Create keyword argument for Python function edit
Functions edit
pyargs Create keyword argument for Python function edit

Calling Web Services edit

HTTP Interface edit

matlab.net.http.RequestMessage HTTP request message edit
matlab.net.http.ResponseMessage HTTP response message edit
matlab.net.http.Message HTTP request or response message edit
matlab.net.http.MessageType HTTP message type edit
matlab.net.http.MessageBody Body of HTTP message edit
matlab.net.http.ProtocolVersion HTTP protocol version edit
matlab.net.http.RequestLine First line of HTTP request message edit
matlab.net.http.RequestMethod HTTP request method edit
matlab.net.http.StartLine First line of HTTP message edit
matlab.net.http.StatusClass Status class of HTTP response edit
matlab.net.http.StatusCode Status code in HTTP response edit
matlab.net.http.StatusLine First line of HTTP response message edit
matlab.net.http.HeaderField Header field of HTTP message edit
matlab.net.http.field.AcceptField HTTP Accept header field edit
matlab.net.http.field.AuthenticateField HTTP WWW-Authenticate or Proxy-Authenticate header field edit
matlab.net.http.field.AuthenticationInfoField HTTP Authentication-Info header field in response message edit
matlab.net.http.field.AuthorizationField HTTP Authorization or Proxy-Authorization header field edit
matlab.net.http.field.ContentDispositionField HTTP Content-Disposition header field edit
matlab.net.http.field.ContentLengthField HTTP Content-Length field edit
matlab.net.http.field.ContentLocationField HTTP Content-Location header field edit
matlab.net.http.field.ContentTypeField HTTP Content-Type header field edit
matlab.net.http.field.CookieField HTTP Cookie header field edit
matlab.net.http.field.DateField HTTP Date header field edit
matlab.net.http.field.GenericField HTTP header field with any name and value edit
matlab.net.http.field.GenericParameterizedField GenericField to support parameterized syntax edit
matlab.net.http.field.HTTPDateField HTTP header field containing date edit
matlab.net.http.field.IntegerField Base class for HTTP header fields containing nonnegative integers edit
matlab.net.http.field.LocationField HTTP Location header field edit
matlab.net.http.field.MediaRangeField Base class for HTTP Content-Type and Accept header fields edit
matlab.net.http.field.SetCookieField HTTP Set-Cookie header field edit
matlab.net.http.field.URIReferenceField Base class for HTTP header fields containing URI components edit
matlab.net.http.io.ContentConsumer Consumer for HTTP message payloads edit
matlab.net.http.io.FileConsumer Consumer for files in HTTP messages edit
matlab.net.http.io.StringConsumer String consumer for HTTP payloads edit
matlab.net.http.io.JSONConsumer Content consumer that converts JSON input into MATLAB data edit
matlab.net.http.io.ImageConsumer Consumer for image data in HTTP payloads edit
matlab.net.http.io.MultipartConsumer Helper for multipart content types in HTTP messages edit
matlab.net.http.io.BinaryConsumer Consumer for binary data in HTTP messages edit
matlab.net.http.io.GenericConsumer Consumer for multiple content types in HTTP messages edit
matlab.net.http.io.ContentProvider ContentProvider for HTTP message payloads edit
matlab.net.http.io.FileProvider ContentProvider to send files edit
matlab.net.http.io.FormProvider ContentProvider that sends form data edit
matlab.net.http.io.MultipartFormProvider ContentProvider to send multipart/form-data messages edit
matlab.net.http.io.StringProvider ContentProvider to send MATLAB strings edit
matlab.net.http.io.JSONProvider ContentProvider to send MATLAB data as JSON string edit
matlab.net.http.io.ImageProvider ContentProvider to send MATLAB image data edit
matlab.net.http.io.MultipartProvider ContentProvider to send multipart/mixed HTTP messages edit
matlab.net.http.io.GenericProvider Generic ContentProvider for HTTP payloads edit
matlab.net.http.AuthenticationScheme HTTP Authentication scheme edit
matlab.net.http.AuthInfo Authentication or authorization information in HTTP messages edit
matlab.net.http.Cookie HTTP cookie received from server edit
matlab.net.http.CookieInfo HTTP cookie information edit
matlab.net.http.Credentials Credentials for authenticating HTTP requests edit
matlab.net.http.Disposition Results in HTTP log record edit
matlab.net.http.HTTPException Exception thrown by HTTP services edit
matlab.net.http.HTTPOptions Options controlling HTTP message exchange edit
matlab.net.http.LogRecord HTTP history log record edit
matlab.net.http.MediaType Internet media type used in HTTP headers edit
matlab.net.http.ProgressMonitor Progress monitor for HTTP message exchange edit
matlab.net.URI Uniform resource identifier (URI) edit
matlab.net.ArrayFormat Convert arrays in HTTP queries edit
matlab.net.QueryParameter Parameter in query portion of uniform resource identifier (URI) edit
matlab.net.base64decode Base 64 decoding of string edit
matlab.net.base64encode Base 64 encoding of byte string or vector edit

WSDL (Web Services Description Language) edit

matlab.wsdl.createWSDLClient Create interface to SOAP-based web service edit
matlab.wsdl.setWSDLToolPath Location of WSDL tools edit

Toolbox Distribution edit

The rough equivalent of a MATLAB toolbox in Julia is a package.

matlab.addons.toolbox.packageToolbox Package toolbox project edit

matlab.addons.toolbox.toolboxVersion Query or modify version of toolbox edit

matlab.addons.toolbox.installToolbox Install toolbox file edit

matlab.addons.toolbox.uninstallToolbox Uninstall toolbox edit

matlab.addons.toolbox.installedToolboxes Return information about installed toolboxes edit

builddocsearchdb Build searchable documentation database edit

matlab.codetools.requiredFilesAndProducts List dependencies of MATLAB program files edit

Exception Handling edit

try, catch Execute statements and catch resulting errors edit

MException Capture error information edit

addCause Record additional causes of exception edit

getReport Get error message for exception edit

last Return last uncaught exception edit

rethrow Rethrow previously caught exception edit

throw Throw exception edit

throwAsCaller Throw exception as if occurs within calling function edit

Testing Frameworks edit

Script-Based Unit Tests edit

assert Throw error if condition false edit
runtests Run set of tests edit
testsuite Create suite of tests edit
TestResult Result of running test suite edit

Function-Based Unit Tests edit

functiontests Create array of tests from handles to local functions edit
runtests Run set of tests edit
testsuite Create suite of tests edit
TestSuite.run Run TestSuite array using TestRunner object configured for text output edit
Test Specification of a single test method edit
FunctionTestCase TestCase used for function-based tests edit
TestResult Result of running test suite edit

Class-Based Unit Tests edit

runtests Run set of tests edit
testsuite Create suite of tests edit
matlab.unittest.TestSuite.run Run TestSuite array using TestRunner object configured for text output edit
matlab.unittest.TestRunner.run Run all tests in TestSuite array edit
matlab.unittest.TestCase Superclass of all matlab.unittest test classes edit
matlab.unittest.TestSuite Class for grouping tests to run edit
matlab.unittest.Test Specification of a single test method edit
matlab.unittest.TestRunner Class for running tests in matlab.unittest framework edit
matlab.unittest.TestResult Result of running test suite edit

Extend Unit Testing Framework edit

matlab.unittest.constraints.Constraint Fundamental interface class for comparisons edit
matlab.unittest.constraints.BooleanConstraint Interface class for boolean combinations of constraints edit
matlab.unittest.constraints.Tolerance Abstract interface class for tolerances edit
matlab.unittest.fixtures.Fixture Interface class for test fixtures edit
matlab.unittest.diagnostics.Diagnostic Fundamental interface class for matlab.unittest diagnostics edit
matlab.unittest.diagnostics.ConstraintDiagnostic Diagnostic with fields common to most constraints edit
matlab.unittest.plugins.TestRunnerPlugin Plugin interface for extending TestRunner edit
matlab.unittest.plugins.QualifyingPlugin Interface for plugins that perform system-wide qualifications edit
matlab.unittest.plugins.OutputStream Interface that determines where to send text output edit

App Testing Framework edit

press Perform press gesture on UI component edit
choose Perform choose gesture on UI component edit
drag Perform drag gesture on UI component edit
type Type in UI component edit
matlab.uitest.unlock Unlock figure locked by app testing framework edit
matlab.uitest.TestCase.forInteractiveUse Create a TestCase object for interactive use edit
matlab.uitest.TestCase TestCase to write tests with app testing framework edit

Performance Testing Framework edit

runperf Run set of tests for performance measurement edit
testsuite Create suite of tests edit
matlab.perftest.TimeExperiment Interface for measuring execution time of code under test edit
matlab.perftest.FixedTimeExperiment TimeExperiment that collects fixed number of measurements edit
matlab.perftest.FrequentistTimeExperiment TimeExperiment that collects variable number of measurements edit
matlab.perftest.TestCase Superclass of matlab.perftest performance test classes edit
matlab.unittest.measurement.MeasurementResult Result of measuring test suite edit

Mocking Framework edit

matlab.mock.TestCase TestCase to write tests with mocking framework edit
matlab.mock.AnyArguments Match any number of arguments edit
matlab.mock.actions.AssignOutputs Define return values for method called or property accessed edit
matlab.mock.actions.ReturnStoredValue Return stored property value edit
matlab.mock.actions.StoreValue Store property value edit
matlab.mock.actions.ThrowException Throw exception when method is called or when property is set or accessed edit
matlab.mock.constraints.WasAccessed Constraint determining property get access edit
matlab.mock.constraints.WasCalled Constraint determining method call edit
matlab.mock.constraints.WasSet Constraint determining property set interaction edit
matlab.mock.MethodCallBehavior Specify mock object method behavior and qualify method calls edit
matlab.mock.PropertyBehavior Specify mock object property behavior and qualify interactions edit
matlab.mock.PropertyGetBehavior Specify mock property get behavior edit
matlab.mock.PropertySetBehavior Specify mock object set behavior edit
matlab.mock.TestCase.getMockHistory Return history from mock object edit
matlab.mock.InteractionHistory.forMock Return history from mock object edit
matlab.mock.InteractionHistory Interface for mock object interaction history edit
matlab.mock.history Summary of classes representing mock object interaction history edit

Performance and Memory edit

timeit Measure time required to run function edit

tic Start stopwatch timer edit

toc Read elapsed time from stopwatch edit

cputime Elapsed CPU time edit

profile Profile execution time for functions edit

bench MATLAB benchmark edit

memory Display memory information edit

inmem Names of functions, MEX-files, classes in memory edit

pack Consolidate workspace memory edit

memoize Add memoization semantics to function handle edit

MemoizedFunction Call memoized function and cache results edit

clearAllMemoizedCaches Clear caches for all MemoizedFunction objects edit

System Commands edit

clipboard Copy and paste text to and from system clipboard edit

computer Information about computer on which MATLAB is running edit

system Execute operating system command and return output edit

dos Execute DOS command and return output edit

unix Execute UNIX command and return output edit

getenv Environment variable edit

setenv Set environment variable edit

perl Call Perl script using operating system executable edit

winqueryreg Item from Windows registry edit

commandhistory Open Command History window, or select it if already open edit

commandwindow Open Command Window, or select it if already open edit

filebrowser Open Current Folder browser, or select it if already open edit

workspace Open Workspace browser to manage workspace edit

matlab.io.saveVariablesToScript Save workspace variables to MATLAB script edit

getpref Get custom preference value edit

setpref Set custom preference value edit

addpref Add custom preference edit

rmpref Remove custom preference edit

ispref Determine if custom preference exists edit

matlab.addons.installedAddons Get list of installed add-ons edit

matlab.addons.isAddonEnabled Determine if add-on is enabled edit

matlab.addons.enableAddon Enable installed add-on edit

matlab.addons.disableAddon Disable installed add-on edit

settings Access the SettingsGroup root object edit

Setting Setting object edit

SettingsGroup Group of settings and subgroup objects edit

clearTemporaryValue Clear the temporary value for a setting edit

clearPersonalValue Clear the personal value for a setting edit

hasTemporaryValue Determine whether the setting has a temporary value set edit

hasPersonalValue Determine whether the setting has a personal value set edit

hasFactoryValue Determine whether the setting has a factory value set edit

matlab.appdesigner App Designer settings, including canvas editor and component browser settings edit

matlab.editor Editor settings, including language, backup, and display settings edit

matlab.fonts Code font settings edit

matlab.general General settings including matfile settings edit

matlab.keyboard Keyboard settings including suggestions and completions settings edit

MATLAB API for Other Languages edit

MATLAB API for Java edit

matlab.engine.shareEngine Convert running MATLAB session to shared session edit
matlab.engine.engineName Return name of shared MATLAB session edit
matlab.engine.isEngineShared Determine if MATLAB session is shared edit
com.mathworks.engine.MatlabEngine Java class using MATLAB as a computational engine edit
com.mathworks.matlab.types.Complex Java class to pass complex data to and from MATLAB edit
com.mathworks.matlab.types.Struct Java class to pass MATLAB struct to and from MATLAB edit
com.mathworks.matlab.types.CellStr Java class to represent MATLAB cell array of char vectors edit
com.mathworks.matlab.types.HandleObject Java class to represent MATLAB handle objects edit

MATLAB API for Python edit

matlab.engine.start_matlab Start MATLAB Engine for Python edit
matlab.engine.find_matlab Find shared MATLAB sessions to connect to MATLAB Engine for Python edit
matlab.engine.connect_matlab Connect shared MATLAB session to MATLAB Engine for Python edit
matlab.engine.shareEngine Convert running MATLAB session to shared session edit
matlab.engine.engineName Return name of shared MATLAB session edit
matlab.engine.isEngineShared Determine if MATLAB session is shared edit
matlab.engine.MatlabEngine Python object using MATLAB as computational engine within Python session edit
matlab.engine.FutureResult Results of asynchronous call to MATLAB function stored in Python object edit

MATLAB API for C edit

MATLAB Engine API for C edit
mex Build MEX function from C/C++ or Fortran source code edit
C MEX File Applications edit
Executable C MEX Files edit
mex Build MEX function from C/C++ or Fortran source code edit
Share MEX Files edit
ver Version information for MathWorks products edit
computer Information about computer on which MATLAB is running edit
mexext Binary MEX file-name extension edit
mex.getCompilerConfigurations Get compiler configuration information for building MEX files edit
Troubleshoot MEX Files edit
dbmex Enable MEX-file debugging on UNIX platforms edit
inmem Names of functions, MEX-files, classes in memory edit

MATLAB API for Fortran edit

MATLAB Engine API for Fortran edit
mex Build MEX function from C/C++ or Fortran source code edit

MATLAB API for COM Automation Server edit

actxGetRunningServer Handle to running instance of Automation server edit
enableservice Enable, disable, or report status of MATLAB Automation server edit
Execute Execute MATLAB command in Automation server edit
Feval Evaluate MATLAB function in Automation server edit
GetCharArray Character array from Automation server edit
GetFullMatrix Matrix from Automation server workspace edit
GetVariable Data from variable in Automation server workspace edit
GetWorkspaceData Data from Automation server workspace edit
MaximizeCommandWindow Open Automation server window edit
MinimizeCommandWindow Minimize size of Automation server window edit
PutCharArray Store character array in Automation server edit
PutFullMatrix Matrix in Automation server workspace edit
PutWorkspaceData Data in Automation server workspace edit
Quit Terminate MATLAB Automation server edit
regmatlabserver Register current MATLAB as Automation server edit