How to load only part of a file in MATLAB
Show older comments
THIS IS THE FILE AND I WANT TO MAKE A MATRIX OF ONLY THE COLUMNS WITH NUMBERS. IM USING load('filename') but it gives me an error.
1 Comment
You cannot use load for this, because that file contains mixed character and numeric data. You will need to use textscan, readtable, or something similar. See:
Answers (1)
javad ebrahimi
on 4 Mar 2018
0 votes
HI dear Mayank Jain
you can drag your txt file in Workspace And then click Import selection after making the necessary changes

Categories
Find more on Standard File Formats 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!