Problems with the .log-file
Posted: Thu Feb 09, 2012 3:20 pm
I have the following problem:
I do SMM with dynare. Since I use the from the .mod-file generated .m-file for minizisation of my distance function.
1. question:
what does this code do?
"
diary off;
logname_ = 'DSGE.log';
if exist(logname_, 'file')
delete(logname_)
end
diary(logname_)
"
What is the diary command doing?
2. When I do iteration, I often get the following error message:
Warning: File not found or permission denied
regarding the .log-file
What should I do to solve this problem?
Greets,
Daniel
I do SMM with dynare. Since I use the from the .mod-file generated .m-file for minizisation of my distance function.
1. question:
what does this code do?
"
diary off;
logname_ = 'DSGE.log';
if exist(logname_, 'file')
delete(logname_)
end
diary(logname_)
"
What is the diary command doing?
2. When I do iteration, I often get the following error message:
Warning: File not found or permission denied
regarding the .log-file
What should I do to solve this problem?
Greets,
Daniel