image thumbnail

Corrected Version of pcap2matlab

version 1.0.1 (5.45 KB) by Tareq Rahmani
I have found so many limitations and wrong output using the pcap2matlab. I tested it using some real Mobile Telecommunication trace pcap

113 Downloads

Updated 07 Apr 2020

View License

First , we thank very much the author who designed this pcap2matlab. It is really great work and made easy for me many things. However , when I cam to try it and test it on my pcap trace files (containing , camel, sctp, tcap,.. protocols ), I found erroneous output and many fields are not appearing in the structure of the output :
framenumber ipaddr e212imsi e164msisdn frametime
___________ ______ __________ __________ _________

1 NaN 4.2002e+14 9.6651e+23 12288
2 NaN 0 0 12288
3 NaN 0 0 12288
4 NaN 0 0 12290
5 NaN 0 0 12290
problems :
- It was giving only decimal outputs => however , in trace we find most of them strings
- The time in frametime is not correct because it is giving only HH:mm:SS,

Corrections : I have reviewed the code and now it is giving complete and accurate reading of the protocols fields...

Cite As

Tareq Rahmani (2021). Corrected Version of pcap2matlab (https://www.mathworks.com/matlabcentral/fileexchange/74909-corrected-version-of-pcap2matlab), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2019a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!