11-08-2013 03:18 AM
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.
11-12-2013 03:12 AM
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.
11-18-2013 03:47 AM
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??
11-20-2013 01:27 PM
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.