public final class MATLABControlUtils extends Object
Modifier and Type | Method and Description |
---|---|
static boolean |
hasProxy() |
static matlabcontrol.MatlabProxy |
proxy()
A running MATLAB instance can only have one proxy active at a time.
|
static matlabcontrol.MatlabProxy |
proxy(boolean hidden)
As
proxy() , with a specification flag for whether or not the
MATLAB instance should be hidden and automatically exit when the calling
JVM is shut down. |
static matlabcontrol.MatlabProxy |
proxy(boolean hidden,
boolean multithreaded)
As
proxy(boolean) with a specification flag for whether or not
MATLAB should be allowed to run multithreaded. |
static matlabcontrol.MatlabProxy |
proxy(boolean hidden,
boolean multithreaded,
String license)
As
proxy(boolean, boolean) with a specification string for the
MATLAB license file. |
static matlabcontrol.MatlabProxy |
proxy(MATLABOptions options)
As
proxy(boolean, boolean, String) using the settings in the given
MATLABOptions |
public static boolean hasProxy()
public static matlabcontrol.MatlabProxy proxy()
MatlabProxy
.public static matlabcontrol.MatlabProxy proxy(boolean hidden)
proxy()
, with a specification flag for whether or not the
MATLAB instance should be hidden and automatically exit when the calling
JVM is shut down.hidden
- If MATLAB should run hidden (no command prompt)MatlabProxy
.public static matlabcontrol.MatlabProxy proxy(boolean hidden, boolean multithreaded)
proxy(boolean)
with a specification flag for whether or not
MATLAB should be allowed to run multithreaded.hidden
- If MATLAB should run hidden (no command prompt)multithreaded
- If MATLAB is allowed to be multithreadedMatlabProxy
.public static matlabcontrol.MatlabProxy proxy(boolean hidden, boolean multithreaded, String license)
proxy(boolean, boolean)
with a specification string for the
MATLAB license file.hidden
- If MATLAB should run hidden (no command prompt)multithreaded
- If MATLAB is allowed to be multithreadedlicense
- Path to MATLAB licenseMatlabProxy
.public static matlabcontrol.MatlabProxy proxy(MATLABOptions options)
proxy(boolean, boolean, String)
using the settings in the given
MATLABOptions
options
- - Cached options for proxy configurationMatlabProxy
.Copyright © 2015–2022 SciJava. All rights reserved.