I have been having some issues trying to open a simulation result output file (.mat) in Python. Upon loading the file I am faced with the following error:
ValueError: Not enough bytes to read matrix 'description'; is this a badly-formed file? Consider listing matrices with
whosmat
and loading named matrices withvariable_names
kwarg toloadmat
Has anyone been successful in rectifying this error? I have heard there is a script DyMat which can manage mat files in Python but haven't had any luck with it so far.
Any suggestions would be greatly appreciated.