Skip to content
Snippets Groups Projects
Verified Commit 96c24b30 authored by Stéphane Adjemian's avatar Stéphane Adjemian
Browse files

Add rehash command so that Matlab acknowledge the created routines.

[skip ci]
parent 368ff7f8
Branches
Tags
No related merge requests found
Pipeline #6164 skipped
Loading
  • Stéphane Adjemian @stepan-a

    mentioned in commit d6c03abb

    ·

    mentioned in commit d6c03abb

    Toggle commit list
  • Reporter

    There are still issues with evaluate.m Now you acknowledged for the time_shift_option, but we are back to the old bug:

    Undefined variable "CourbePhillipsSalairesNkEstimation" or class >"CourbePhillipsSalairesNkEstimation.var_expectations.varexp.evaluate".

    Error in CourbePhillipsSalairesNKEstimation.driver (line 595) edata{'vp_ecart_txcho'} = CourbePhillipsSalairesNkEstimation.var_expectations.varexp.evaluate(edata);

    Error in dynare (line 281) evalin('base',[fname '.driver']);

    rehash is still there at the end of print_expectations.m, but the bug occurs anyway. Not always though.

  • Johannes Pfeifer @JohannesPfeifer ·
    Developer

    Are you using Windows? In the past we regularly had issues with file access. Sometimes the only solution is to add a pause for the file to be written to the disk before it can be accessed.

  • Reporter

    Thank you, Johannes, Yes, I am using Windows. Could you give more details as for where to add the pause exactly?

  • Author Owner

    @Anastasia Are you saying that the issue does not pop up without the fix for the time_shift option? That would be weird. Before the introduction of the rehash command the issue was also visible under Linux (it was not only a Windows problem). Do you have any problem if the ˋtime_shift` option is not used? I would need some files to test. Also are you working on a remote disk?

  • Author Owner

    If a pause can help, it would be free the creation of the matlab routine, ie after the call print_expectations or ˋvar_expectations.print`.

  • Johannes Pfeifer @JohannesPfeifer

    mentioned in merge request dseries!40 (merged)

    ·

    mentioned in merge request dseries!40 (merged)

    Toggle commit list
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment