Mismatched delimiters

Dear all,
I’m getting this message after running the following code:
Error: File: Sentiment_steadystate.m Line: 44 Column: 69
Invalid expression. When calling a function or indexing a variable, use parentheses. Otherwise, check for mismatched delimiters.
What is the reason?

Sentiment.mod (6.3 KB)
Sentiment_steadystate.m (2.1 KB)

HI, this is an obvious Matlab error on line 44 of your steady state file (as indicated in the error message). Just replace the two occurrences of

log(z)+)

by

log(z))

Best,
Stéphane.