Problem in plotting togherter the graph of irf after that I did a loop

I have a problem in plotting togherter the graph of irf after that I did a loop on matlab for changing the value of a variable. I use hold on function but it doesn’t work, I don’t understend why…
I attach here my work on dynare and my matlab loop

kappa.m (620 Bytes)
JEEM2024.mod (3.8 KB)

@jpfeifer I look forward to your guidance

The attached codes should work in Dynare 6.1:
JEEM2024.mod (3.8 KB)
kappa_run.m (704 Bytes)

Yes, the problem is solved. Thank you for your help