Description: Add Dynare root directory to the path at invocation
 Add an extra addpath at the top of `dynare.m' so that the symlink in
 `/usr/share/octave/site/api-v*/m' works correctly.
Author: Sébastien Villemot <sebastien.villemot@ens.fr>
Forwarded: not-needed
--- 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() '.'])
