Page 1 of 1
Error message when I run sample files

Posted:
Wed Mar 29, 2006 8:53 am
by koji
Hi Michel and all
I installed dynare 4.0(scilab version) and try to run sample files.

Posted:
Wed Mar 29, 2006 10:18 am
by MichelJuillard
There is no Scilab version of Dynare version 4.0.
Can you check which version you are really using and which file did you download from the server?
Thanks
Michel

Posted:
Fri Mar 31, 2006 1:57 am
by koji
Yes. The version is 3.02.(I downloaded dyn_sci_0302.zip)
What causes the problem?
Dynare with Scilab 4.0

Posted:
Fri Mar 31, 2006 12:44 pm
by MichelJuillard
With Scilab version 4.0, it is necessary to add the following steps to redo the binaries. At the Scilab prompt, execute the followin commands:
cd c:\dynare\scilab
getf('uplib.sci')
uplib()
It may be necessary to reload Scilab for the modifications to take effect.
Best
Michel

Posted:
Wed Apr 05, 2006 8:26 am
by koji
Thank you so much.
I did as you suggest. The result is as follows.
-->getf('uplib.sci')
Warning :redefining function: uplib
-->uplib()
Warning: Error in file dynarescilabasset_fff.sci :
"endfunction is missing"
file ignored
!--error 4
undefined variable : fl
at line 12 of function getsave called by :
line 87 of function genlib called by :
line 3 of function uplib called by :
uplib()
I checked uplib.sci.
function uplib()
%nb=predef(0)
genlib('dynarelib','\dynare\scilab')
predef(%nb(1))
There might be no problem.

Posted:
Thu Apr 06, 2006 7:44 am
by MichelJuillard
Dear Koji,
I think you aren't in the right directory when you did uplib(). You must do
cd c:\dynare\scilab
uplib()
It is also possible that you copied other files into c:\dynare\scilab. If that is the case, it is best to erase all files in directory c:\dynare\scilab and start the installation again.
Kind regards
Michel

Posted:
Mon Jun 26, 2006 2:59 am
by koji
I confirmed that the directory is right. I tried re-install many times.
(And there is no other file in c:\dynare\scilab .
I still have the same problem.
There might be something wrong in irf.sci or stoch_simul.sci?

Posted:
Mon Jun 26, 2006 8:16 am
by koji
The 11the line of irf.sci is as follows.
rand('seed',j,'n');
When I delete this line, graphics are shown with no error message.
Is this method correct?

Posted:
Mon Jun 26, 2006 7:36 pm
by MichelJuillard
Dear Koji,
thank you for reporting the problem. I will try to correct it as soon as possible
Kind regards
Michel