.mat file corrupt?
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Wouter
el 22 de Abr. de 2013
Comentada: Rajeev Kumar
el 27 de Ag. de 2020
Hello,
But I get the following error:
Error using load
Unknown text on line number 1 of ASCII file
<some path>/MOTNL.MAT
"MATLAB".
I opened this .mat file in notepad and I saw it was created in Matlab 5.0 in 1999. So I believe this is a conversion error? So if this is the case could anyone maybe upconvert it? So I can open it with Matlab 2012a?
2 comentarios
Tobias
el 22 de Abr. de 2013
Editada: Tobias
el 22 de Abr. de 2013
>> load('MOTNL.MAT')
Warning: Updating objects saved with previous MATLAB version...
Resave your MAT files to improve loading speed.
> In warning at 26
In updatewarn at 11
In ss.loadobj at 13
Do you want the .mat file I generated? There are a LOT of different variables saved in the workspace
Respuesta aceptada
Walter Roberson
el 22 de Abr. de 2013
Try
load('MOTNL.MAT', '-mat')
Remember, Linux is case-sensitive, so possibly the .MAT is throwing it off.
2 comentarios
Más respuestas (1)
per isakson
el 22 de Abr. de 2013
Editada: per isakson
el 22 de Abr. de 2013
It works here (R2012a,64bit,Windows7)
>> load('C:\Users\poi\Downloads\MOTNL.MAT')
Warning: Updating objects saved with previous MATLAB version...
Resave your MAT files to improve loading speed.
> In warning at 26
In updatewarn at 11
In ss.loadobj at 13
The data looks ok.
Delete and download the file a second time.
Ver también
Categorías
Más información sobre Power Converters en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!