USRP Software Radio

cancel
Showing results for 
Search instead for 
Did you mean: 

matlab

i had a problem when i was using matlab node inside of labview.i did some simple calculations about BER but the matlab server just kept telling the matrixs could not match to each other.

i transfer the words which the length is 736 where orignal was 731 but i used space to fill it into 736.and the receving part i get 736 words and i decoded into binary code for later BER calculations which the length of decode binary is 5152. from the transmitting part i did decode too.and i substrate them together then absolute value in the end use sum.here is the problem because it just kept telling me the matrixs could not match to each other.and i just the receving data magically changed into 736 and there is no information inside but zeros.

could anybody help me out?thanks a lot.

Download All
0 Kudos
Message 1 of 4
(5,982 Views)

subVIs are missing.

 

the thing is that sent or received data are in string format. you'd better make sure the length of string are as request.

0 Kudos
Message 2 of 4
(5,961 Views)

what do u mean by the length of the string?and when i sent the data the length is 731 but after receving the data i checked from matlab but there are 736 characters.btw which subvis is missing??

0 Kudos
Message 3 of 4
(5,933 Views)

Hello edwardfu,

 

From the first post, it sounds like the error is potentially occuring inside the MatLab Node:

 

Does this code work outside LabVIEW?

If it does, what data are you providing to get a working output?

How does that compare to the data you are providing inside LabVIEW?

 

Screenshots of a working data set and a non-working data set are very valuable.

Anthony F.
Staff Software Engineer
National Instruments
0 Kudos
Message 4 of 4
(5,909 Views)