python中读取使用的是read函数,
data=fid.read(inf) data = ord(bytearray(data))
应该是有办法查到源码的,如果查不到可以用Python调用MATLAB的m文件来解决