hi,

I got the following problem when doing stoch_simul.

??? Subscript indices must either be real positive integers or logicals.

what does it mean?

and does anyone tell me how to fix it?

really appreciate!

hi,

I got the following problem when doing stoch_simul.

??? Subscript indices must either be real positive integers or logicals.

what does it mean?

and does anyone tell me how to fix it?

really appreciate!

Check whether you define every variable or parameter before you use it. Also check if you value every parameter. If that is the case, you may want to switch back to version 3, the error message might be more informative.

thanks for your respond.

I check the defined variable and parameters, and still got the same

problem.

Here is another question: my computed steady states of 3 variables are

negative. Does it result in the subcript indices problem?!

thank you!

Hi

I had the error message

??? Subscript indices must either be real positive integers or logicals

when I defined a variable on the top of the code but I did not use it in any of the equations of the model. The number of the equations was equal to the number of declared variables because I put a redundant equation as a mistake.

Paolo

I am also getting this message. I tried checking based on what the previous post said, but have not had any success. I have attached the mod file. Any help will be greatly appreciated.

AP

jmp.mod (3.4 KB)