Matlab Compiler 7.1

7 次查看(过去 30 天)
I recently updated my Matlab and Matlab Compiler to 2019b. I compiled a script with the compiler using the new versions and when I run the executable, I get an error that the application "Could not find version 9.7 of the Matlab runtime, attempting to load mclmcrrt9_7.dll. Please install the correct version of the Matlab runtime." My question is why do I need the runtime if I have matlab installed on my computer. What am I missing in my new setup?

采纳的回答

Kojiro Saito
Kojiro Saito 2020-1-7
If you have installed MATLAB and want to run applications compiled by MATLAB Compiler, make sure that MATLABROOT\runtime\win64 (as of Windows) is added in your environment PATH.
Where MATLABROOT is MATLAB's installation path. (for example, C:\Program Files\MATLAB\R2019b)
Related document:
  1 个评论
Christopher Freitas
Thank you. I have updated my path accordingly and it now works properly.

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息

产品


版本

R2019b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by