MATLAB: Compile Error, text analytics toolbox

compilerMATLAB CompilerText Analytics Toolbox

Hi, i have written a program using text analytics tools box. This program is using "erasePunctuation"function. I can compile a stand alone application using compiler app within matlab 2017b. I can run this program on my machine after compilation. However, when I run this program on another machine without Matlab, I receive The error message:
"Undefined variable textanalytics or class textanalytics.internal.erasepunctuation"
I have also tried to build the program using both options provided in the compiler app. That is download from the web and download the matlab runtime.
Any comments would be appreciated.

Best Answer

Matlab confirmed that this a bug and they will fix in the next release.