Functions | |
if (nargout > 0||nargin==0) prog | |
endif | if (nargin==1) if(ischar(new_prog)) if(!isempty(new_prog)) gp_binary |
else | error ("gnuplot_binary: value must not be empty") |
endif else | error ("gnuplot_binary: expecting program to be a character string") |
endif endif | if (nargin > 1) if(iscellstr(varargin)) gp_args |
else | error ("gnuplot_binary: expecting arguments to be character strings") |
Variables | |
function [prog, args] | |
persistent | gp_args = {} |
args = gp_args |
if | ( | nargout | , | |
0|| | nargin = =0 | |||
) |
Initial value:
gnuplot_binary (new_prog, varargin) persistent gp_binary = "gnuplot"
persistent gp_args = {} |