Error : unrecognized function or variable dynare

Hello,

After installing dynare 4.5.4 I added the path on matlab 2021 (mac) addpath(‘/Applications/Dynare/4.5.4’) but when I want to run a mod file, I got the following error :
Unrecognized function or variable ‘dynare’.

Could you please help me to solve this error?

Thank you in advance.

Hi, you need to add the matlab subfolder to the path (not /Applications/Dynare/4.5.4), this is where the dynare function is located.

Best,
Stéphane.

Thank you very much. It works now.