MATLAB: What is “Unable to compute indifference curve tangency portfolio.”

portalloc error indifference curve

I was playing around with the function portalloc to compute the tangency portfolio, the following error message occurred:
??? Error using ==> portalloc at 199
Unable to compute indifference curve tangency portfolio.
I have googled for this issue, but no answered so far.
Can anyone help to elaborate the cause of this error? Thanks in advance!

Best Answer

There is a explanation about this error by Bob taylor : matlabcentral
it may help you to understand the error message.