diff --git a/matlab/write_latex_definitions.m b/matlab/write_latex_definitions.m index e707538cf..258cff920 100644 --- a/matlab/write_latex_definitions.m +++ b/matlab/write_latex_definitions.m @@ -1,10 +1,10 @@ -function write_latex_definitions(M_) +function write_latex_definitions %function write_latex_definitions % Writes a latex file containing the variable names, latex names, and % tags/comments % % INPUTS -% M_ +% none % % OUTPUTS % none @@ -29,6 +29,8 @@ function write_latex_definitions(M_) % You should have received a copy of the GNU General Public License % along with Dynare. If not, see . +global M_; + if M_.exo_det_nbr == 0 tables = {'Endogenous', 'Exogenous', 'Parameters'}; M_var_root = {'M_.endo', 'M_.exo', 'M_.param'};