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

@ -51,8 +51,10 @@ function [freq,init,data,varlist] = load_m_file_data(file)
% along with Dynare. If not, see <http://www.gnu.org/licenses/>.
% AUTHOR(S) stephane DOT adjemian AT univ DASH lemans DOT fr
[basename, ext] = strtok(file,'.');
run(file);
run(basename);
if exist('INIT__','var')
init = dynDate(INIT__);