how can i open .out extension file in matlab?
12 次查看(过去 30 天)
显示 更早的评论
0 个评论
回答(2 个)
Star Strider
2025-1-14
That depends on what is inside the file.
If it is a text file, you can use either readtable or readmatrix with the addition of FileType='text' to the argumentt list. See the readtable documentation section on FileType for those details, since other options are also available.
If it is a binary file, then you need to know how it was formatted. See the documentation on the fread function for those details.
If you believe it to be a MATLAB .mat file, you can use the load function with the addition of '-mat' to the argument list.
Beyond that, if you know what application created the file, go to the application website to see iif you can find a way to read it. Then, save that result to a format that MATLAB can read easily.
.
0 个评论
Walter Roberson
2025-1-25
".out" is not a standardized file extension. ".out" is used by many different programs, and contains anything from text printouts to binary forms of compiled objects.
".out" used to be a semi-popular file extension used by Fortran programs for arbitrary text output. Whether the text was structured or not was very variable.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Workspace Variables and MAT Files 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!