Hi! I was trying to run Model13 and came around this error:
Not enough input arguments.
Error in KronPolicyIndexes_FHorz_Case1 (line 29)
PolicyKron(:,:,:,jj)=KronPolicyIndexes_Case1(Policy(:,:,:,jj), n_d, n_a, n_z, simoptions);
^^^^^^^^^^
Error in SimPanelValues_FHorz_Case1 (line 221)
PolicyIndexesKron=KronPolicyIndexes_FHorz_Case1(Policy, n_d, n_a, n_z, N_j); % Create it here as want it both here and inside SimPanelIndexes_FHorz_Case1 (which will recognise that it is already in this form)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Error in LifeCycleModel13 (line 182)
SimPanelValues=SimPanelValues_FHorz_Case1(InitialDist,Policy,FnsToEvaluate,Params,,n_d,n_a,n_z,N_j,d_grid,a_grid,z_grid,pi_z,simoptions);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
So, seems like the empty “simoptions” argument should be there in the calling functions inside SimPanelValues_FHorz_Case1 (lines 208,2014,221), but for some reason there is not. Should I just add last arguments, or they should not be there for a reason?
Exactly the same problem for model16, model22.