Fixed bug. Removed file extension.

time-shift
Stéphane Adjemian (Charybdis) 2012-12-03 12:01:56 +01:00
parent 118a823310
commit ce6f57a5cb
1 changed files with 3 additions and 1 deletions

View File

@ -52,7 +52,9 @@ function [freq,init,data,varlist] = load_m_file_data(file)
% AUTHOR(S) stephane DOT adjemian AT univ DASH lemans DOT fr
run(file);
[basename, ext] = strtok(file,'.');
run(basename);
if exist('INIT__','var')
init = dynDate(INIT__);