Michel Juillard <michel.juillard@mjui.fr> writes:
In recent versions of Matlab, calling functions with no input arguments can be
indicated with empty parentheses (). However this syntax is not allowed in
older versions of Matlab. I searched, but couldn't find which version starts to
authorize the () construct.
Some time ago, we had decided not to use () in Dynare, but those have
reappeared for some time.
As far as I can see, the problem has not be mentioned on the forum since the
end of 2008, but I have just received a message from somebody in Madagascar who
encountered it.
We should either remove () or find the Matlab version that first authorizes it
and modify the mention that Dynare works with Matlab version 6.5 and above
I tried with MATLAB 7.0 and () is accepted.
I read the release notes of MATLAB 7.0, 6.5.1 and 6.5, and nothing is
mentionned about this.
Either MATLAB did not document this change in its release notes, or this
person is using a version older than 6.5 (in the latter case, she must
be getting a warning when Dynare is run). It could be useful if you
asked which version of MATLAB this person is running.
Best,
_______________________________________________
Dev mailing list
Dev@dynare.org
https://www.dynare.org/cgi-bin/mailman/listinfo/dev