Opening .mat file using matlab
Show older comments
I couldn’t open a .mat file in my computer using matlab. Rather it was opening with Microsoft Access and I followed the laid down procedures on how to change the default file type. But the thing is that I didn’t find .mat extension in my file type. What do I do?
4 Comments
Jonas
on 22 Jun 2023
you can also try to go over to a mat file using your file explorer: right click -> open with and then choose matlab (or 'other program' and then matlab). then either tick the 'always open with' box (I think this was windows 10) or click the always button on windows 11
Kilaliba Tugwell
on 22 Jun 2023
Mayur
on 22 Jun 2023
Can you share a screenshot of the file properties?
Kilaliba Tugwell
on 22 Jun 2023
Answers (2)
Mayur
on 23 Jun 2023
Moved: Image Analyst
on 23 Jun 2023
0 votes
Thanks for sharing that. If you open MATLAB and then open this file from there, does it open properly?
Also, please check the following MATLAB Answers in case they help:
1 Comment
Kilaliba Tugwell
on 23 Jun 2023
Moved: Image Analyst
on 23 Jun 2023
Try
storedStructure = load('C:\Users\X360\Desktop\My Thesis\third trial')
All the variables stored in that mat file will be fields of the structure returned by the load function.
help load
Categories
Find more on Workspace Variables and MAT Files in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!