一、背景
最近在按照dynamo官方教程(Advanced starters guide (EMBO2021) - Dynamo)运行命令行版本时,前面运行均正常,但是在dcp运行project,跑任务时,会报错如图:
二、About MATLAB Runtime
- 运行编译的Matlab应用或组建,不需要安装Matlab
- MATLAB Runtime (MCR) is a collection of shared libraries, MATLAB code, and other files that enables the execution of compiled and packaged MATLAB applications on systems without an installed version of MATLAB. End users who want to run these applications without MATLAB must install MATLAB Runtime or specify the location of a MATLAB Runtimenetwork installation.
- To create an application installer that contains MATLAB Runtime, you must download the MATLAB Runtime installer that matches both the version and update level of MATLAB used to create the installer. To distribute a packaged MATLAB application without an installer, end users must download the MATLAB Runtime installer that matches the version of MATLAB used to compile the application, at the same update level or newer. For more information, see Install and Configure MATLAB Runtime.
考虑到版本通常有向下兼容性,所以我首先打算坚持服务器上原有的Matlab2022a,在Matlab官网MATLAB Runtime - MATLAB Compiler - MATLAB 下载对应的版本Matlab runtime 9.12。安装之后发现还是会报一样的错误。最后放弃教程的GPU9(standalone)去run程序,而是选用GPU(under Matlab)模式去跑,就OK了。