Sometimes other Tesseract installations set an environment variable that can conflict with how MATLAB searches for Tesseract data files. You can check if this is set by doing the following from MATLAB:
The result of that command should be an empty string.
If it is not an empty string, then you should execute this command prior to running the "ocrTrainer":
Hope it helps!