What does it mean "/Multiple" after variable name in *.mat file?
Mostrar comentarios más antiguos
I have *.mat files exported by Bruker Opus program. When I select these files Matlab lists the variables contained in that file. However, after each variable name there is a /Multiple note, (see figure).

When I click on the file it does not load anything.
What does it mean the "/Multiple"? How to load these files?
Respuesta aceptada
Más respuestas (1)
Walter Roberson
el 22 de Abr. de 2024
0 votos
The .mat file has been created by an external program not using the official Application Programming Interface. The variable names that have been inserted in the .mat are not valid.
9 comentarios
James Tursa
el 23 de Abr. de 2024
Editada: James Tursa
el 23 de Abr. de 2024
I think loadfixnames is broken in the latest versions of MATLAB because TMW changed the API to disallow loading invalid named variables in mex routines, so the mex routine can't fix them. I will take another look at this submission to see if there is any way to bring it up to date.
Are the mat files text files? I.e., can you read them in a text editor? Can you post one of the mat files?
Csaba
el 23 de Abr. de 2024
James Tursa
el 23 de Abr. de 2024
Can you try to reproduce the problem with a smaller file? I.e., generate a new smaller file?
Csaba
el 23 de Abr. de 2024
James Tursa
el 23 de Abr. de 2024
Editada: James Tursa
el 23 de Abr. de 2024
OK. Did you try running with the verbose flag set to 1? What output did you see before MATLAB crashes?
Csaba
el 24 de Abr. de 2024
James Tursa
el 24 de Abr. de 2024
Interesting ... loadfixnames sees that /Multiple as part of the variable name. And the dimensions differ from your post. I will try to look into my code this weekend.
Csaba
el 25 de Abr. de 2024
Categorías
Más información sobre Write C Functions Callable from MATLAB (MEX Files) en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
