Matlab Compiler Runtime 9.6 installation cannot be moved

20 次查看(过去 30 天)
I have the MCR 9.6 installed, however I want to be able to move it without uninstalling and reinstalling everytime. When I do move it (to my documents folder for example), I get missing dll errors such as mclmcrrt9_6.dll not being found by an application that links against libeng and libmx. I'm assuming the installer put the path to the runtime somewhere on my filesystem. Are there ways of getting the MCR to be more portable, or is this just how it is?
  3 个评论
Rik
Rik 2022-6-28
I don't know how the licensing would work (if it is allowed etc), but you should be able to use a program like thinstall to make the installation portable.
I don't know if the Matlab license allows it, or if that program is still around.
That could be a solution if all else fails.
Alexander Frederiksen
@Rik Awesome, I'll look into that (: @dpb I want to have the MCR be part of my git repo, with the rest of my dependencies, instead of needing to reinstall MCR on every computer I work on. What I discovered about 5 minutes ago, is that if I copy the shared libraries from runtime/win64 to bin/win64, everything works out (which I guess makes sense, because libeng.dll and libmx.dll are in bin/win64, so putting everything right next to them makes the dll searching simpler). Another solution, I guess would be to put runtime/win64 on my executable path in my application as well (I already have bin/win64). Anyways, thanks guys! I'll try out thinstall if something else goes wrong (;

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 MATLAB Compiler SDK 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by