Add an extra addpath at the top of dynare.m so that the symlink in /usr/share/octave/site/api-???/m works
--- a/matlab/dynare.m
+++ b/matlab/dynare.m
@@ -33,6 +33,8 @@
 % You should have received a copy of the GNU General Public License
 % along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
 
+addpath /usr/share/dynare/matlab
+
 if strcmpi(fname,'help')
     disp(' ')
     disp(['This is dynare version ' dynare_version() '.'])
