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
Please, tell me what you think
Best
Michel
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,
The person is running 6.5 For the time being, I advise her to switch to Octave. Now that we support Octave very well, I wouldn't object if we say that Dynare needs at least version 7.0 of Matlab
Best
Michel
On 4/27/2011 10:24 AM, Sébastien Villemot wrote:
Michel Juillardmichel.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
Hi I think an even higher Matlab version than 7.1 may be needed to support Dynare 4.2 Brgds George
________________________________
Fra: dev-bounces@dynare.org på vegne af Michel Juillard Sendt: on 27/04/2011 09:37 Til: List for Dynare developers Emne: Re: [DynareDev] calling Matlab functions with no arguments
The person is running 6.5 For the time being, I advise her to switch to Octave. Now that we support Octave very well, I wouldn't object if we say that Dynare needs at least version 7.0 of Matlab
Best
Michel
On 4/27/2011 10:24 AM, Sébastien Villemot wrote:
Michel Juillard michel.juillard@mjui.fr mailto: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
Hi George,
do you have an example that doesn't work with 7.0 or 7.1?
Best
Michel
On 4/27/2011 10:56 AM, George Perendia wrote:
Hi I think an even higher Matlab version than 7.1 may be needed to support Dynare 4.2 Brgds George
Fra: dev-bounces@dynare.org på vegne af Michel Juillard Sendt: on 27/04/2011 09:37 Til: List for Dynare developers Emne: Re: [DynareDev] calling Matlab functions with no arguments
The person is running 6.5 For the time being, I advise her to switch to Octave. Now that we support Octave very well, I wouldn't object if we say that Dynare needs at least version 7.0 of Matlab
Best
Michel
On 4/27/2011 10:24 AM, Sébastien Villemot wrote:
Michel Juillardmichel.juillard@mjui.fr mailto: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
Dev mailing list Dev@dynare.org https://www.dynare.org/cgi-bin/mailman/listinfo/dev
Hi Michel I did come across a problem - I can not remember just now what it was, I think it was to do with running the pre-compiled (i.e. the release) 4.2 - will let you know, pos. later today. Brgds George
________________________________
Fra: dev-bounces@dynare.org på vegne af Michel Juillard Sendt: on 27/04/2011 11:53 Til: List for Dynare developers Emne: Re: [DynareDev] calling Matlab functions with no arguments
Hi George,
do you have an example that doesn't work with 7.0 or 7.1?
Best
Michel
On 4/27/2011 10:56 AM, George Perendia wrote:
Hi I think an even higher Matlab version than 7.1 may be needed to support Dynare 4.2 Brgds George ________________________________ Fra: dev-bounces@dynare.org på vegne af Michel Juillard Sendt: on 27/04/2011 09:37 Til: List for Dynare developers Emne: Re: [DynareDev] calling Matlab functions with no arguments The person is running 6.5 For the time being, I advise her to switch to Octave. Now that we support Octave very well, I wouldn't object if we say that Dynare needs at least version 7.0 of Matlab Best Michel On 4/27/2011 10:24 AM, Sébastien Villemot wrote: Michel Juillard michel.juillard@mjui.fr mailto:michel.juillard@mjui.fr mailto:michel.juillard@mjui.fr mailto: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 _______________________________________________ Dev mailing list Dev@dynare.org https://www.dynare.org/cgi-bin/mailman/listinfo/dev
Hi Michel
My apologies again - I can not reproduce the error. After some additional checking I think that the error I was originally getting whilst running any of Dynare models with release Dynare 4.2.0 and Matlab 7.1 was a bit of a "red herring" - i.e. non existing really but was appearing at the time for some other reasons that do not exist any more, and not due to the compiled version of Dynare not being compatible with 7.1.
Brgds George
________________________________
Fra: dev-bounces@dynare.org på vegne af Michel Juillard Sendt: on 27/04/2011 11:53 Til: List for Dynare developers Emne: Re: [DynareDev] calling Matlab functions with no arguments
Hi George,
do you have an example that doesn't work with 7.0 or 7.1?
Best
Michel
On 4/27/2011 10:56 AM, George Perendia wrote:
Hi I think an even higher Matlab version than 7.1 may be needed to support Dynare 4.2 Brgds George ________________________________ Fra: dev-bounces@dynare.org på vegne af Michel Juillard Sendt: on 27/04/2011 09:37 Til: List for Dynare developers Emne: Re: [DynareDev] calling Matlab functions with no arguments The person is running 6.5 For the time being, I advise her to switch to Octave. Now that we support Octave very well, I wouldn't object if we say that Dynare needs at least version 7.0 of Matlab Best Michel On 4/27/2011 10:24 AM, Sébastien Villemot wrote: Michel Juillard michel.juillard@mjui.fr mailto:michel.juillard@mjui.fr mailto:michel.juillard@mjui.fr mailto: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 _______________________________________________ Dev mailing list Dev@dynare.org https://www.dynare.org/cgi-bin/mailman/listinfo/dev
Michel Juillard michel.juillard@mjui.fr writes:
The person is running 6.5 For the time being, I advise her to switch to Octave. Now that we support Octave very well, I wouldn't object if we say that Dynare needs at least version 7.0 of Matlab
This is also my view.
Stéphane told me that MATLAB 6.5 is using Atlas and has no JIT compiler, so I guess it is no faster than Octave. Moreover, I don’t have any MATLAB 6.5 installed.
So, if you agree, let’s bump the requirement to MATLAB 7.0 or higher (George: Dynare works with MATLAB 7.0, at least for simple tasks, I test it from time to time).
Best,
Before making it public, could you run the test suite with Matlab v7.0? How long would it take to make a Matlab version of run_test_octave.m?
Best
Michel
On 4/27/2011 11:35 AM, Sébastien Villemot wrote:
Michel Juillardmichel.juillard@mjui.fr writes:
The person is running 6.5 For the time being, I advise her to switch to Octave. Now that we support Octave very well, I wouldn't object if we say that Dynare needs at least version 7.0 of Matlab
This is also my view.
Stéphane told me that MATLAB 6.5 is using Atlas and has no JIT compiler, so I guess it is no faster than Octave. Moreover, I don’t have any MATLAB 6.5 installed.
So, if you agree, let’s bump the requirement to MATLAB 7.0 or higher (George: Dynare works with MATLAB 7.0, at least for simple tasks, I test it from time to time).
Best,
Dev mailing list Dev@dynare.org https://www.dynare.org/cgi-bin/mailman/listinfo/dev