Example of Error #
User may encounter this error when trying to proceed to analyze the project.
- Matlab Error
![image1](https://i0.wp.com/mes100.wpengine.com/wp-content/uploads/2017/05/image1.png?resize=402%2C179)
2. If the Program Fails to Start with an Exception Message
![](https://i0.wp.com/mes100.com/wp-content/uploads/2022/11/image.png?resize=292%2C216&ssl=1)
1st Step: Change Engine Method, Matlab to Native #
To solve this problem, you may change the engine method used from Matlab to Native. In doing so, you will need to go to
Options >> Parameters >> Analysis >> Engine >> Change from Matlab to Native
*please refer image below for reference
![image2](https://i0.wp.com/mes100.wpengine.com/wp-content/uploads/2017/05/image2.png?resize=875%2C544)
2nd Step: If The Error Still Occur #
After changing the engine method from Matlab to Native, and the error listed here still occur user may try possible solution below
Solution #
Firstly, Remove Matlab cache folder #
The folder, by default it is at %AppData%\Local\Temp\<username>\mcrCache7.17
i. mcrCache7.17 may be named differently depending on the installed version of Matlab compiler runtime
ii. This is how you can find the %AppData% folder on your machine.
If the problem still persists #
Try changing Matlab cache location
i. Create a directory where the location is writable, for example, create C:\mcrcache
ii. Go to Control Panel -> System -> Advanced System Settings -> Environment Variables
iii. Under System variables, add variable name MCR_CACHE_ROOT with the directory path created in the first step as its value
![image1](https://i0.wp.com/mes100.wpengine.com/wp-content/uploads/2017/05/image1-2.png?resize=443%2C511)