gsa_sample_file argument of identification function not working

Bug Report: checkpath Function Error in Dynare Identification Analysis

Description:
When attempting to use the GSA (Global Sensitivity Analysis) sample file option in the identification command, Dynare fails with a missing function error.

Steps to Reproduce:

  1. Run the following command:
    identification(advanced=1, gsa_sample_file=2);

Error Stack:

  1. Primary error: “Unrecognized function or variable ‘checkpath’”
  2. Error occurs in sequence:
    • dynare_identification (line 253): GSAFolder = checkpath(‘gsa’,dname);
    • nash.driver (line 375): dynare_identification(options_ident);
    • dynare (line 289): evalin(‘base’,[fname ‘.driver’]);
    • compare_regimes (line 5): dynare nash

Thanks for reporting this. A fix is at 🐛 fix gsa_sample_file option (!2335) · Merge requests · Dynare / dynare · GitLab