"eval undefined" and "resp_mat1 (_,1): but resp_mat1 has size 0x0"

Dear professor,

I’m trying to run the attached file with Octave (script also attached). It drops out tha “eval” is undefined in line 2 column, but eval is not a variable of the model is a function. And lastly, it jumps out another error: “resp_mat1(_,1): but resp_mat1 has size 0x0” which I don’t know to attribute it to.

In advanced, thank you very much.

examen_model1.mod (5.6 KB) P6a_R.m (1.5 KB)

You did not provide all files needed to run the model. BGG_ss is missing.