matlab跟labview不兼容,MATLAB与LABVIEW连接问题

该问题可能由写保护引起,SIT安装程序在MATLAB的startup.m文件中添加了行以确保SIT服务器自动启动。要解决此问题,需检查并修改startup.m文件,添加指定路径。如果SIT未安装在默认目录,需调整路径。如果startup.m文件存在错误,需修正错误或手动在MATLAB命令提示符中输入新增行。
摘要由CSDN通过智能技术生成

A write protection is likely the cause of this problem. Specifically, the SIT must be able to access C:\Program Files\MATLAB701\toolbox\local\.

The SIT installer adds some lines to the startup.m file during the installation process to guarantee the automatic start of the SIT server when MATLAB is launched.

To solve the problem, open startup.m and copy the following lines at the end of the file:

addpath('C:\SimulationInterfaceToolkit\ModelInterface\tmw');

addpath('C:\SimulationInterfaceToolkit\UserInterface');

addpath('C:\SimulationInterfaceToolkit\lib');

NISITServer;

If you have not installed the SIT into the default directory, you must adjust the path.

NOTE:  If there are errors in startup.m before the addpath statements, MATLAB will not register them.  In that case you will either have to correct the errors, or enter the added lines into the command prompt of MATLAB.

Best Regards,

Tao Hou

NISH

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值