Mercurial > octave
changeset 22128:faae09d7ed5b
mlock gnuplot_binary.m in memory to preserve during "clear all"
* scripts/plot/util/gnuplot_binary.in.m: Add "mlock ()".
author | Ben Abbott <bpabbott@mac.comm> |
---|---|
date | Sun, 17 Jul 2016 20:40:06 -0400 |
parents | 7a70004cae61 |
children | e859caa53399 |
files | scripts/plot/util/gnuplot_binary.in.m |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/plot/util/gnuplot_binary.in.m Sun Jul 17 14:19:06 2016 +0200 +++ b/scripts/plot/util/gnuplot_binary.in.m Sun Jul 17 20:40:06 2016 -0400 @@ -32,6 +32,7 @@ function [prog, args] = gnuplot_binary (new_prog, varargin) + mlock () persistent gp_binary = %OCTAVE_CONF_GNUPLOT%; persistent gp_args = {};