如何从代码中知道是否安装了MCR Matlab?
我想知道是否MCR Matlab是安装在pc上的Matlab代码。我该怎么办?有办法知道吗? 我可以在Windows注册表中找到指定的密钥吗如何从代码中知道是否安装了MCR Matlab?,matlab,matlab-figure,matlab-deployment,matlab-compiler,Matlab,Matlab Figure,Matlab Deployment,Matlab Compiler,我想知道是否MCR Matlab是安装在pc上的Matlab代码。我该怎么办?有办法知道吗? 我可以在Windows注册表中找到指定的密钥吗 谢谢任何人可以帮助我…要知道是否安装了工具箱,请使用with the toolbox folder name作为输入参数。例如: name = 'images'; %// name of toolbox folder s = ver(name); 这将为您提供一个结构s: s = Name: 'Image Processing Toolb
谢谢任何人可以帮助我…要知道是否安装了工具箱,请使用with the toolbox folder name作为输入参数。例如:
name = 'images'; %// name of toolbox folder
s = ver(name);
这将为您提供一个结构s
:
s =
Name: 'Image Processing Toolbox'
Version: '7.1'
Release: '(R2010b)'
Date: '03-Aug-2010'
如果s
为非空(~isempty)
),则安装工具箱
现在您只需找出MCR文件夹的名称(可能是
'MCR'
或'compiler'
?)。您可以从包含MCR的Matlab安装中找到它。如果您想检查Matlab外部或部署的m代码(如果MCR可用),请在注册dll列表中搜索mclmcrt*.dll
。您为什么想知道这一点?你想解决的更大的问题是什么?