Explanation

The matlabroot function is rarely appropriate in a deployed application because MATLAB software might not be installed and therefore there is no matlabroot.


Suggested Action

Rewrite the program to eliminate the use of matlabroot in the deployed application. Consider using ctfroot instead. For more information, see the function reference page for ctfroot in the MATLAB Compiler documentation.