Skip to content

Commit 7b46227

Browse files
authored
make matlab interface gui-less (#222)
1 parent f867397 commit 7b46227

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/engine.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
# Session open & close
66
#
77
###########################################################
8-
const default_startflag = "" # no additional flags
9-
const default_matlabcmd = matlab_cmd * " -nosplash"
8+
const default_startflag = "-nodisplay -nosplash -nodesktop" # no additional flags
9+
const default_matlabcmd = matlab_cmd * " -nodisplay -nosplash -nodesktop"
1010
# pass matlab flags directly or as a Vector of flags, i.e. "-a" or ["-a", "-b", "-c"]
1111
startcmd(flag::AbstractString = default_startflag) = isempty(flag) ? default_matlabcmd : default_matlabcmd * " " * flag
1212
startcmd(flags::AbstractVector{<:AbstractString}) = isempty(flags) ? default_matlabcmd : default_matlabcmd * " " * join(flags, " ")

0 commit comments

Comments
 (0)