Import .mat File out of Octave into Matlab
17 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
MarionJ
el 3 de Abr. de 2017
Comentada: MarionJ
el 4 de Abr. de 2017
Hello
I have been in contact with Mathworks Support Andreas Goser about importing a .mat file out of Octave into Matlab. He approved of handling this question even though there is a connection with using open source.
The question is, How can I import a .mat file which was compiled in Octave into Matlab? I Need to perform a functionfit on the Basis of measured data in Octave, since I do not have the optim-package in Matlab, and want to Import the function Parameters into Matlab.
Thank you in advance for help.
2 comentarios
Jan
el 3 de Abr. de 2017
I do not understand the question. You can import a MAT file simply by using load. What is the "optim-package in Matlab"? To import function parameters an binary file might be much easier. So what exactly do you want to solve?
Respuesta aceptada
Jan
el 3 de Abr. de 2017
Editada: Jan
el 3 de Abr. de 2017
I do not know Octave. So please explain in which format "the function parameters" are available in Octave. If this is a number of double values, a binary file is trivial.
Nevertheless, the documentation (found by Google "Ocatve write MAT file") seems to imply, that Octave can write v4, v6 and v7 MAT files:
Simply try a save -v7 in Octave and a load in Matlab.
[EDITED] Sorry, I did not see Stephen's answer before I've submitted this one.
Más respuestas (0)
Ver también
Categorías
Más información sobre Octave 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!