MATLAB Answers

0

What's the best way to open and read a .out file in MATLAB?

Asked by Maggie Fielder on 16 Aug 2019
Latest activity Edited by per isakson
on 19 Aug 2019
What's the best way to open and read a .out file in MATLAB? The file has numbers and text and I can open it as a plain text file in MATLAB, but how do I read the data in the file? I've tried fopen and textscan and had no success. Thank you!

  1 Comment

Attach it here.
the readtable function is also an option.

Sign in to comment.

Products


Release

R2019a

1 Answer

Answer by per isakson
on 18 Aug 2019
Edited by per isakson
on 19 Aug 2019

If the file contains columns of data, you may want to try the interactive tool Import Data
Notice that this tool can generate code to read files with identical format.

  0 Comments

Sign in to comment.