Page 1 of 1

Combing MATLAB and Macro-Expressions

PostPosted: Fri Apr 22, 2016 11:46 pm
by timjackson
Hi,

Is it possible to parse the value of a MATLAB variable through into a macro-expression in DYNARE? I'm trying to do something like the following:

mfile.m

global MATLABVALUE

for i = [1:10]
MATLABVALUE = i
dynare modfile.mod
end;



modfile.mod
@#define value = MATLABVALUE

model;
etc



Thank you for your help,

Tim Jackson

Re: Combing MATLAB and Macro-Expressions

PostPosted: Mon Apr 25, 2016 8:11 am
by jpfeifer