Load varexo or set_varexo_value

Hello,

In dynare we can save parameters as a .mat file, and use the following commands in .mod file.

load param;
set_param_value(‘alpha’,alpha);

Is there any equivalent for varexo? I want to change shocks (varexo) in loops from .m file.

In which context? Perfect foresight or stoch_simul?

Thanks for your reply, in

stoch_simul

context

Then it’s easiest to represent the process as

std_dev_a*epsilon_a;

with

shocks;
var epsilon_a=1;
end;

and set the standard deviation with

set_param_value('std_dev_a',0.5);

thank you, it works!