[SciPy-User] loadmat: Unknown mat file type, version 49

Florian Lindner mailinglists at xgm.de
Wed Aug 27 16:33:24 EDT 2014


Matthew Brett wrote:

> Hi,
> 
> On Wed, Aug 27, 2014 at 10:23 AM, Florian Lindner <mailinglists at xgm.de>
> wrote:
>> Hello,

>> The petsc C code:
>>
>>   PetscViewer viewer;
>>   PetscViewerASCIIOpen(PETSC_COMM_WORLD, "rbf_results", &viewer);
>>   PetscViewerSetFormat(viewer, PETSC_VIEWER_ASCII_MATLAB);
>>   MatView(Nodes, viewer);
>>   VecView(c, viewer);
>>   PetscViewerDestroy(&viewer);
>>
>> Any idea what could be the problem here?
>>
>> System is ArchLinux, SciPy 0.14, NumPy 1.8.2, Python 3.4.1
> 
> Sorry - I wasn't sure from what you said whether this is actually a
> matlab .mat file in matlab 4 / 5 / 6 binary format?

Actually I got no idea. petSC gives no information about the specific 
version. I've pasted the relevant file how it's cat'ted into my console.

Thx,
Florian




More information about the SciPy-User mailing list