I am trying to read one of the channel in mf4 file but it is giving me the error of "Result buffer is too small". The rest of the channel in the channel list i can read the data properly

3 views (last 30 days)
chanList = channelList(mdfObj) % Channel table
data = read(mdfObj,chanList(2:3,:)); % i can read channel 2 and 3
data1 = read(mdfObj,chanList(5:11,:)); % I can read channel 5 to 11
But not channel 4 for some reason.
it is always giving me the error of result buffer too small.

Answers (1)

Prabhan Purwar
Prabhan Purwar on 19 Oct 2020
Hey,
This seems to be a known issue with Vehicle Network Toolbox and is fixed in version R2019b Update 5 onwards.
The issue arises when trying to read MDF data from a channel that contains array greater than 256 bytes in size.
I would recommend you to kindly update the MATLAB version.
Thanks

Products


Release

R2019b

Community Treasure Hunt

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

Start Hunting!