Main Content

Failure to FindMATLABRuntimeFiles

If your application generates a diagnostic message indicating that a module cannot be found, it could be thatMATLAB®Runtimeis not properly located on your path. You fix this problem by ensuring that theMATLAB Runtimefiles are on your application path.

On a system with MATLAB installed,matlabroot\runtime\archmust be on your system path ahead of any other MATLAB installations.

  • matlabrootis your root MATLAB folder.

  • archis the architecture of your computer such aswin64for a 64-bit Windows®computer.

On a system withMATLAB Runtimeinstalled,mcr_root\ver\runtime\archis on your system path.

  • mcr_rootis your rootMATLAB Runtimefolder.veris the version number ofMATLAB Runtime.

  • archis the architecture of your computer such aswin64for a 64-bit Windows computer.