Save command doesn't work in Dynare 6.0

Could everyone please help me with the following issue? Thanks in advance!

When I run the following code in Dynare 5.5, Dynare correctly saves the data.

stoch_simul(order=1, periods=0,irf=100,nograph);

save ../Data/BAU.mat lnc_ea lni_ea lnk_ea lnla_ea lnpm_ea lnw_ea lny_ea lnz_ea

However, when I use Dynare 6.0, it does not run properly.

错误使用 save
未找到变量 'lnc_ea'。

出错 BAu.driver (第 1095 行)
save ../Data/BAU.mat lnc_ea lni_ea lnk_ea lnla_ea lnpm_ea lnw_ea lny_ea lnz_ea;

出错 dynare (第 310 行)
    evalin('base',[fname '.driver']);

Here is the complete mod file.
BAU.mod (3.7 KB)

It seems you are missing a

send_irfs_to_workspace

in Dynare 6. See Breaking Features in Version 6 · Wiki · Dynare / dynare · GitLab