Issue with Matlab 2020a and Dynare 4.6.1

Hi, I just upgraded to Matlab 2020a and now get this error message when I run Dynare:

Unrecognized function or variable ‘num_procs’.
Error in default_option_values (line 72)
options_.threads.kronecker.sparse_hessian_times_B_kronecker_C = num_procs;
Error in global_initialization (line 136)
options_ = default_option_values(M_);

Does anyone know what is going on? Thanks

Which OS are you working on. num_procs is a mex-file located in e.g.

C:\dynare\4.6.1\mex\matlab\win64-9.4-9.7\num_procs.mexw64

So there may be an issue with your path.

Thanks, indeed these files were not on my path.