Main Content

matlab.engine.isEngineShared

Determine if MATLAB session is shared

Description

example

tf = matlab.engine.isEngineShared returns logical 1 (true) if a MATLAB® session is shared. It returns logical 0 (false) if the session is not shared. By default, MATLAB sessions are not shared.

Examples

collapse all

Determine if the current MATLAB session is shared for connections to other processes.

tf = matlab.engine.isEngineShared
tf =

     0

By default, the session is not shared.

Version History

Introduced in R2015b