diff --git a/AUG/rdaAUG_eff.m b/AUG/rdaAUG_eff.m index 6b2c350e44cee5a4fbdb88144ac10e7c78b7ee46..5086a52369c9f43349d6f042a6e17a86f87dbc9a 100644 --- a/AUG/rdaAUG_eff.m +++ b/AUG/rdaAUG_eff.m @@ -35,7 +35,12 @@ if usemdsplus if ~unix('test -d /home/duval/mdsplus') addpath('/home/duval/mdsplus') end - mdsconnect('localhost:8001'); + + if ~unix('test -d /home/osauter/gdat') + mdsconnect('localhost:8001'); + else + mdsconnect('localhost'); + end user=getenv('USER'); if nargin>=4 & ~isempty(varargin{1})