Incomplete Beta function

Hi,
Is there a way to introduce an incomplete beta function in a model? I tried but got the error
ERROR: nke_capital_more.mod:193.9-22: To use an external function within the model block, you must first declare it via the external_function() statement.
Matlab calls the function with the statement betainc(c,alpha,beta) .
Thanks,
Pablo
Is there a way to introduce an incomplete beta function in a model? I tried but got the error
ERROR: nke_capital_more.mod:193.9-22: To use an external function within the model block, you must first declare it via the external_function() statement.
Matlab calls the function with the statement betainc(c,alpha,beta) .
Thanks,
Pablo