Using dseries without running dynare

I need to load a matfile saved earlier from a previous execution of dynare. When I upload the matfile, the variables saved as dseries class are not uploaded correctly.

A solution is to run dynare only to add the path to the dseries class information. To avoid running dynare, I want to add the following lines to the code before loading the matfile:

addpath('C:\dynare\4.6.3\matlab\modules\dseries\src')
initialize_dseries_class

Is this procedure fine or it is better to run dynare before uploading the matfile?

That procedure should be fine. Alternatively, you could call dynare_config, but it will add more stuff to your path.

1 Like

Great. Thank you. Good to know about dynare_config, too.