Opening .mat file after installing Matlab Runtime
13 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Ash
el 28 de Jul. de 2022
Respondida: Walter Roberson
el 28 de Jul. de 2022
I recently installed the Matlab Runtime R2022a on my Windows 10 machine.
I would like to change the default app for opening .mat files from access to matlab but I am not sure how to locate the executable file even though I know where my Runtime was installed.
0 comentarios
Respuesta aceptada
Walter Roberson
el 28 de Jul. de 2022
https://www.mathworks.com/matlabcentral/fileexchange/51165-matlab-file-association-shortcut-fix can help you change the file association for .mat away from Access to something else. However, it is designed to redirect to interactive MATLAB, not to something compiled using MATLAB Runtime.
You can install a program such as Octave to open .mat files; I believe there are also Python modules that can open them as well.
MCR (MATLAB Component Runtime) is a support library, which must be called from a program compiled by MATLAB Compiler or MATLAB Compiler SDK.
0 comentarios
Más respuestas (1)
Image Analyst
el 28 de Jul. de 2022
I'm not sure I understand. The runtime library is used when you get a MATLAB program that has been compiled into a standalone executable and you want to run their program without having the full MATLAB IDE desktop version. You should know where the program lives - the one that you want to open your .mat file with. Moreover, if you're going to double click the .mat file and expect it to open their program, then they must have programmed it to expect a file coming in via the command line. If they didn't, and you defined the .mat file to launch their program, then it will just launch their program but not read in your .mat file automatically.
3 comentarios
Image Analyst
el 28 de Jul. de 2022
What does "look at it" mean? You can open it in Notepad if you want. Or many editor programs that can display the image as characters or hexadecimal numbers. But how will that help you?
Ver también
Categorías
Más información sobre C Shared Library Integration en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!