Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

channel coefficients from mimochan() in embedded matlab

Status
Not open for further replies.

preethi_k4

Newbie level 6
Newbie level 6
Joined
Nov 26, 2012
Messages
14
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
Pune
Visit site
Activity points
1,361
Hi All,

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 anyting 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
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top