New help

hi

please see the model file that is attachment
the file is the simulation file in dynare
but in this file i have two models that i will run it
in fact i will know can it file run?
if it is possible to run, how changes does it need?
in general
in advance i want to know can i write a program when i run it
at first run in model 1 and show the results then run in model 2 and show the results
thanks a lot
model.mod (4.56 KB)

You cannot sensibly have two different models in the same file. You either need to split them into two files are use the macro-processor to select the model to be executed. The proper way to execute two models after each other is to write two mod-files and then call them via a Matlab script.