hi,i have a big problem about getting data by matlab . when i use matlab 2010b,i input "
[numSamples, overflow, chA, chB] = invoke(blockObj, 'getBlockData', 0, 0, 1, 0);" then i get data of cha and chb.both value are matrix of 1*15000 because the num of samples i set is 15000,that is the output i want.
however, when i use matlab2017b on other computer , i did in the same way,input the "
[numSamples, overflow, chA, chB] = invoke(blockObj, 'getBlockData', 0, 0, 1, 0);" then i get cha=2000,chb=2000, i am sure this is peakToPeakVoltage of cha and chb.
here is the problem,i think the version of matlab is the only difference, there is no wrong or warning during the process,i just got different output, i can't get the true output of cha and chb!!!
Post your MATLAB discussions here
2 posts • Page 1 of 1