资源简介
Matlab Connector 1.2 的安装包,使用Matlab Mobile必备,在官网需要license才能下载,放在这里供破解版用户下载

代码片段和文件信息
function install_connector()
%INSTALL_CONNECTOR Install the MATLAB Connector.
% INSTALL_CONNECTOR Install the files for the MATLAB Connector into your MATLAB installation.
% Copyright 2010-2011 The MathWorks Inc.
% turn off connector if running
try
com.mathworks.util.ClassLoaderBridge.findClass(‘com.mathworks.matlabserver.embeddedwebserver.JettyWebServer‘);
running = com.mathworks.matlabserver.embeddedwebserver.JettyWebServer.isRunning();
if running
connector(‘off‘);
clear(‘java‘);
end
catch e %#ok
end
% Determine location of this file
currentFile = mfilename(‘fullpath‘);
[currentDir currentscriptName] = fileparts(currentFile);
% Define variables used in the script
productName = ‘MATLAB Connector‘;
licenseAgreementFile = fullfile(currentDir ‘MATLAB_Connector_SLA.txt‘);
zip_file = ‘MATLABconnector.zip‘;
toolboxStr = ‘toolbox‘;
connectorStr = ‘connector‘;
connectorRoot = fullfile(matlabroot toolboxStr connectorStr);
connectorHelpFile = fullfile(connectorRoot connectorStr ‘html‘ ‘bsjg133.html‘);
helpFileStr = strcat(‘file:///‘ connectorHelpFile);
% make sure user is using at least MATLAB R2009b
if verLessThan(‘matlab‘ ‘7.9‘)
error(‘%s does not run on MATLAB versions earlier than R2009b.‘ productName);
end
% check if the jvm is available
if (~usejava(‘jvm‘))
error(‘%s requires Java to run.‘ currentscriptName)
end
% check if archive exists
if (exist(zip_file ‘file‘) ~= 2)
error(‘Archive %s does not exist.\nInstallation failed.‘ zip_file)
end
% Display License Agreement
if (exist(licenseAgreementFile ‘file‘) ~= 2)
error(‘The %s license agreement file does not exist on your machine.\nThis is an invalid installation.‘ productName)
end
type(licenseAgreementFile)
reply = input(‘Do you accept this license agreement? Y/N [N]: ‘ ‘s‘);
msg = sprintf(‘You must accept the license agreement if you wish to continue installing. \n...Exiting the %s Installation.‘ productName);
if(isempty(regexpi(reply‘^(y|yes)$‘)))
disp(msg)
return
end
doinstall
install_connector_path_update(false);
rehash toolboxcache
% Wrap-up
msg = sprintf(‘\nInstallation of %s is complete.\n‘ productName);
disp(msg)
msg = sprintf(‘To start the connector type \“connector on\“.‘);
disp(msg)
msg = sprintf(‘\nFor more information see the Setup and User‘‘s Guide.‘ helpFileStr);
disp(msg)
end
function doinstall
productName = ‘MATLAB Connector‘;
% check if the user can write to matlabroot
tempFileInMLRoot = tempname(matlabroot);
fid = fopen(tempFileInMLRoot ‘w‘);
if (fid == -1)
failed = true;
if ispc
try
proc = System.Diagnostics.Process;
% EXE to run
proc.StartInfo.FileName = fullfile(matlabroot‘bin‘‘matlab‘);
% Arguments to the EXE
proc.StartInfo.Arguments = ‘/wait /noslpash /nodesktop /r install_connector_helperexit‘;
% Run-as admin
proc.Star
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 4370919 2011-01-28 10:29 MATLABconnector.zip
文件 1030 2011-01-28 10:27 install_connector_path_update.m
文件 4001 2011-01-28 10:27 install_connector.m
文件 1129 2011-01-28 10:27 install_connector_helper.m
文件 7741 2011-01-28 10:27 MATLAB_Connector_SLA.txt
- 上一篇:2015b版Matlab神经网络工具箱用户手册
- 下一篇:猫群算法matlab实现
相关资源
- matlab_OFDM调制解调(来自剑桥大学)
- Matlab路面裂缝识别69319
- 高灵敏度GPS接收机MATLAB仿真,附捕获
- 基于MATLAB的质点弹道计算与外弹道优
- 阵列天线的matlab仿真
- MATLAB 经典程序源代码大全
- MATLAB小波软阈值去噪代码33473
- 天线阵的波束形成在MATLAB仿真程序及
- 非线性SVM算法-matlab实现
- 《MATLAB 智能算法超级学习手册》-程序
- 组合导航matlab程序
- 读取txt文件内容matlab代码实现
- Matlab实现基于相关的模板匹配程序
- matlab优化工具箱讲解
- 基于MATLAB的快速傅里叶变换
- 光纤传输中的分布傅立叶算法matlab实
- 基于matlab的图像处理源程序
- matlab 椭圆拟合程序
- 算术编码解码matlab源代码
- optical_flow 光流法 matlab 实现程序
- 引导图像滤波器 Matlab实现
- 分形几何中一些经典图形的Matlab画法
- OFDM系统MATLAB仿真代码
- SVM工具箱(matlab中运行)
- 图像小波变换MatLab源代码
- LU分解的MATLAB实现
- 冈萨雷斯数字图像处理matlab版(第三
- 替代数据法的matlab程序
- 用matlab实现的多站定位系统性能仿真
- 通过不同方法进行粗糙集属性约简m
评论
共有 条评论