物联网技术
直播中

韩维斌

11年用户 103经验值
擅长:可编程逻辑 嵌入式技术 EDA/IC设计 处理器/DSP RF/无线
私信 关注
[问答]

关于SystemVue中MathLang器件的使用

请教各路大神!利用SystemVue设计MIMO系统,在设计的使用Alamouti算法的单用户MIMO系统中,要使用MathLang器件编写matlab程序,完成后如下:
SNR=2;
#matlabregion
H=zeros(1,2);
S_inf=zeros(1,2);
Ri=eye(2);
X=randn(2,1)/sqrt(2)+j*randn(2,1)/sqrt(2);
H=reshape(Ri'*X,1,2);
sig=sqrt(1/(10^(SNR/10)))
addtional_gaussian_noise=sig*(randn(1,2,10)+1j*randn(1,2,10))/sqrt(2)
Y=[input1  -conj(input2); input2  conj(input1)];
R=H*Y + addtional_gaussian_noise(:,:,k);
   #endregion
output1=R(1);
output2=R(2);

设置好仿真参数后,run后提示MathLang :   could not find the critical file,midebugserver.jar,这是什么情况?

回帖(1)

韩维斌

2014-3-12 20:19:12
经过不断的咨询尝试,这个问题终于解决了,要在MATLAB安装目录下,在命令行以管理员身份运行:matlab --regserver,启动matlab服务,然后在SystemVue中的工具栏中启动项设置,Launch Matlab选项,重启软件即可解决
举报

更多回帖

发帖
×
20
完善资料,
赚取积分