--- MITgcm_contrib/gael/profilesMatlabProcessing/MITprof_global.m 2016/01/17 19:28:27 1.7 +++ MITgcm_contrib/gael/profilesMatlabProcessing/MITprof_global.m 2016/01/31 15:52:18 1.8 @@ -1,10 +1,8 @@ function []=MITprof_global(varargin); -%object: take care of path and global variables (mygrid and mitprofenv), -% and sends global variables to caller routine workspace -%notes: - in any call, if this has not yet been done, -% this routine also adds MITprof subdirectories -% to the matlab path, and it defines mitprofenv. -% - this routine replaces MITprof_path +% +% MITPROF_GLOBAL calls gcmfaces_global, adds MITprof paths, adds +% defines MITprof_climdir and MITprof_griddir in myenv, and +% adds myenv (global variable) to caller routine workspace %get/define global variables: gcmfaces_global; @@ -73,5 +71,5 @@ end; %send to workspace: -evalin('caller','global mygrid mitprofenv'); +evalin('caller','global mygrid myenv');