Azzera filtri
Azzera filtri

How to load only part of a file in MATLAB

7 visualizzazioni (ultimi 30 giorni)
Mayank Jain
Mayank Jain il 4 Mar 2018
Risposto: javad ebrahimi il 4 Mar 2018
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 Commento
Stephen23
Stephen23 il 4 Mar 2018
Modificato: Stephen23 il 4 Mar 2018
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:

Accedi per commentare.

Risposte (1)

javad ebrahimi
javad ebrahimi il 4 Mar 2018
HI dear Mayank Jain
you can drag your txt file in Workspace And then click Import selection after making the necessary changes

Categorie

Scopri di più su Tables in Help Center e File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by