When changing the time horizon of the simulation and exporting the results in csv, the default time horizon is shown in the csv file.
I was surprised someone would actually download the csv file :D
I received this issue from external source, so I should take care of it.
I scanned through the code, but I didn't find where this information is read in matlab.
@j2L4e do you have any idea? Since the output.json has the correct time horizon, I assume I just didnt find the right spot in the code...
To Reproduce
Steps to reproduce the behavior:
- Check any model with any policy rule and any shock/variables
- Change Horizon to e.g. 40 in the options block
- Run simulation
- Click on "Export data .csv"
- In the output.csv only 21 periods are shown, while the output.json 41 periods are shown
Expected behavior
The csv file should contain 41 periods output
Screenshots



Desktop (please complete the following information):
- Device: PC
- OS: Windows
- Dynare 4.5.7, Matlab 2019
When changing the time horizon of the simulation and exporting the results in csv, the default time horizon is shown in the csv file.
I was surprised someone would actually download the csv file :D
I received this issue from external source, so I should take care of it.
I scanned through the code, but I didn't find where this information is read in matlab.
@j2L4e do you have any idea? Since the output.json has the correct time horizon, I assume I just didnt find the right spot in the code...
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The csv file should contain 41 periods output
Screenshots



Desktop (please complete the following information):