MATLAB: Treebagger and predict method error after standalone compiling

fitensemblemcrpredicttreebagger

I have some code for classification program.
It works well in matlab running.
But when I compile these codes using matlab compiler tool, the application program has an error in the line "predict method"
—- [oofLabels, scores, stdevs] = predict(RF, features);
oofLabels = str2double(oofLabels); —-
The standalone application error message is below error.png
How can I solve this problem?
this link seems to be similar problem
Thanks.
Related Question