Dynare dseries object dataset_

I can’t access to dataset_ dseries class object content when loading dynare saved results to .mat file.
This is de message:
Warning: Variable ‘dataset_’ originally saved as a dseries cannot be instantiated as an object and will
be read in as a uint32.
How could I solve this?

You need to add a path to Dynare and run dynare_config;

thank you Johannes! I have (between others):

C:\dynare\5.4\matlab
and
C:\dynare\5.4\matlab\modules\dseries\src.…

but I don’t know if this is sufficient and how to run dynare_config
Could you give me some hint please?
Thanks again!!

In Matlab, execute

addpath('C:\dynare\5.4\matlab');
dynare_config;

Now it’s working.
Thanks!!!