From 24df481dc74e32a6620bac7e19be36abcf5d8774 Mon Sep 17 00:00:00 2001
From: Houtan Bastani <houtan@dynare.org>
Date: Thu, 13 Feb 2014 18:20:01 +0100
Subject: [PATCH] remove matlab2tikz requirement

---
 README.md              |  1 -
 matlab/dynare_config.m | 17 -----------------
 2 files changed, 18 deletions(-)

diff --git a/README.md b/README.md
index 726361795f..4fd89ec19f 100644
--- a/README.md
+++ b/README.md
@@ -262,7 +262,6 @@ Configure and make:
     - ```brew install bison```
     - ```brew install boost```
     - ```brew install gfortran```
-    - ```brew install matlab2tikz --HEAD```
     - ```brew install libmatio --with-hdf5```
     - ```brew install slicot --with-default-integer-8```
 - **(Optional)** To compile Dynare mex files for use on Octave, first install Octave following the [Simple Installation Instructions](http://wiki.octave.org/Octave_for_MacOS_X#Simple_Installation_Instructions_3). Then, you will probably also want to install graphicsmagick via Homebrew with `brew install graphicsmagick`.
diff --git a/matlab/dynare_config.m b/matlab/dynare_config.m
index 1e9ed32330..5b1760a44d 100644
--- a/matlab/dynare_config.m
+++ b/matlab/dynare_config.m
@@ -147,23 +147,6 @@ else
     addpath([dynareroot '../mex/matlab/']);
 end
 
-% matlab2tikz
-if strncmp(computer, 'GLNX', 4) || ~isempty(regexpi(computer, '.*linux.*', 'once'))
-    if exist('matlab2tikz.m') == 0 && exist('/usr/share/matlab2tikz/matlab2tikz.m') == 2
-        addpath('/usr/share/matlab2tikz');
-    end
-elseif strncmp(computer, 'MACI', 4) || ~isempty(regexpi(computer, '.*apple.*', 'once'))
-    if exist([dynareroot '../contrib/matlab2tikz/matlab2tikz.m']) == 2
-        addpath([dynareroot '../contrib/matlab2tikz']);
-    elseif exist('/usr/local/share/matlab2tikz/matlab2tikz.m') == 2
-        addpath('/usr/local/share/matlab2tikz');
-    end
-else
-    if exist([dynareroot '../contrib/matlab2tikz/matlab2tikz.m']) == 2
-        addpath([dynareroot '../contrib/matlab2tikz']);
-    end
-end
-
 %% Set mex routine names
 mex_status = cell(1,3);
 mex_status(1,1) = {'mjdgges'};
-- 
GitLab