I have just installed Dynare 4.4.3 and wanted to run a mod-file provided by my university. When trying to run the file, Matlab shows a large number of warnings, e.g.:
*Warning: Function ordeig has the same name as a MATLAB builtin. We suggest you rename the function to avoid a
potential name conflict.
In path (line 109)
In addpath (line 88)
In dynare_config (line 48)
In dynare (line 48) *
Matlab has a built-in library of functions and other code. Giving one of your functions the same name as a built-in Matlab function could potentially confuse Matlab and cause interesting things to happen. It’s the same reason why users are encouraged to use alternate spellings for greek letters - i.e. alppha instead of alpha - because these could already be defined in Matlab.
From the example you posted, it sounds like the Dynare code you’ve been provided has a function named “ordeig,” but Matlab has already defined “ordeig” as something else, creating a conflict in interpretation.
It seems to me that you have added the path to the dynare matlab folder by including the subfolders. This is a mistake as you have added a folder where we keep ordeig for versions of matlab/octave that do not have it. You should only add the path to the dynare matlab folder. Dynare itself will take care of including the other necessary folders in the path. In your case, it is sufficient to clear all dynare paths then type addpath /Applications/Dynare/4.4.3/matlab
I install RS2016 to a new laptop, and then installed the dynare. So I don’t think there exist any version conflict between previously installed programs.