matlab.engine.shareEngine
Convert running MATLAB session to shared session
Description
matlab.engine.shareEngine
converts the
current MATLAB® session to a shared session with a default name.
The default name is 'MATLAB_
,
where <process_ID>
'
is
a number that indicates the process ID of the current MATLAB session.<process_ID>
matlab.engine.shareEngine(
converts the current
MATLAB session to a shared session and gives it the specified name.name
)
If there is already a shared MATLAB session on your local machine that has the specified name, then
matlab.engine.shareEngine
converts the current session to a
shared session with a default name.
Examples
Input Arguments
Limitations
matlab.engine.shareEngine
is not supported for deployed applications.
Tips
You also can use a MATLAB startup option to start a shared session. To start a shared MATLAB session, type this command at the operating system prompt:
matlab -r "matlab.engine.shareEngine"
Version History
Introduced in R2015b