필터 지우기
필터 지우기

channel coefficients from mimochan() in embedded matlab

조회 수: 2 (최근 30일)
Preethi
Preethi 2012년 12월 30일
Hi,
For implementing MIMO in Simulink i am using mimochan() in matlab function. The channel object is created and i used filter() to pass the modulated signal. It worked fine. Now, for the PathGains of the channel object, i used the follwing code
coder.extrinsic('mimochan') chnl = mimochan(2,2,0.0001,40) out_1 = filter(chan,data) chnl_coeff = chan.PathGains
It is giving me an error. I also tried by intializing the chnl_coeff with zeros and then trying to access PathGains, in vain.
Even the line chnl.StorePathGains = 1 when included seperately is also giving the same error. coder.extrinsic('mimochan') chnl = mimochan(2,2,0.0001,40) chnl.StorePathGains = 1 out_1 = filter(chan,data)
Did i missed out anything while using mimochan() in simulink matlab function? I am out of ideas... The same code is working in normal .m files..
Request to help me out from this problem..Thanking you in advance

답변 (0개)

카테고리

Help CenterFile Exchange에서 Communications Toolbox에 대해 자세히 알아보기

제품

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by