bug fix: accord repmat syntax with that before R2013b

time-shift
Houtan Bastani 2016-08-24 12:03:07 +02:00
parent 71c2bc665a
commit b94f30c40a
1 changed files with 1 additions and 1 deletions

View File

@ -50,7 +50,7 @@ end
% Check the dimension of the fourth input argument
if isempty(exogenousvariables)
exogenousvariables = repmat(exogenousvariables, 1, 1, replic);
exogenousvariables = repmat(exogenousvariables, [1, 1, replic]);
else
if ~isequal(size(exogenousvariables, 3), replic)
error('Wrong size. !')