MATLAB: Am I not able to execute the standalone application on only certain end user machines

MATLAB Compiler

I have built a very simple standalone application using MATLAB Compiler R2018b on Windows. The standalone application runs on some end user's machines, but it does not run on certain user's machines with the following error message.
Undefined function or variable 'ctfroot'.
Error in checkRequiredMCRProducts (line 14)

Best Answer

Please delete the CTF extraction folder and re-run the executable file.
C:\Users\[username]\AppData\Local\Temp\[username]\mcrCache[version]
For example,
C:\Users\sji\AppData\Local\Temp\sji\mcrCache9.4\