- 易迪拓培训,专注于微波、射频、天线设计工程师的培养
关于SystemVue中MathLang器件的使用
录入:edatop.com 点击:
请教各路大神!利用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,这是什么情况?
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,这是什么情况?
经过不断的咨询尝试,这个问题终于解决了,要在MATLAB安装目录下,在命令行以管理员身份运行:matlab --regserver,启动matlab服务,然后在SystemVue中的工具栏中启动项设置,Launch Matlab选项,重启软件即可解决