各位前辈大家好。想请问大家一个安装与设定上的问题 我在Windows subsystem for linux (windows 10) 上面想安装 Matlab Runtime。 (因为compiler license 在 linux 系统上,编译之后只能在linux 系统上面执行,所以想透过 WSL 方式在 windows 电脑上面执行) 经过ㄧ整天的 Google,发现没有想像的容易。有人说 WSL 是简化版的 linux 系统所以会缺很多 library (都已经照着指令安装了) https://mathworks.com/matlabcentral/answers/308911-can-i-install-matlab-in-bash-on-ubuntu-on-windows 我有安装同样版本(2014b)的compiler 跟 runtime 。目前遇到的问题是,执行 compile 好的程式的时候,显示 ./[program name]: error while loading shared libraries: libmwlaunchermain.so: cannot open shared object file: No such file or directory 猜测的原因是 Matlab runtime 找不到这个档案(我自己也找不到)) 想请问大家有没有相关的经验,可以忙想想看可能的解法 感谢!
楼主: StillRick (事情真多) 2021-04-07 04:42:00
https://www.mathworks.com/help/compiler_sdk/dotnet/install-the-matlab-runtime.htmlNoteIf you do not include the -agreeToLicense yes option, the installer does not install MATLAB Runtime.发现必须要要加上 -agreeToLicense yes