Effacer les filtres
Effacer les filtres

Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

I want to import data from text file into matlab through a script. The column headings are to be variable names.

1 vue (au cours des 30 derniers jours)
Shilpesh
Shilpesh le 16 Mar 2016
Clôturé : MATLAB Answer Bot le 20 Août 2021
I want to import data from text file into matlab through script. The column headings are to be variable names.
  4 commentaires
Shilpesh
Shilpesh le 16 Mar 2016
clear;clc; A=importdata(filename); v=genvarname(A.colheaders);
for i=1:length(A.colheaders) v(i)=A.data(:,i); end

Réponses (0)

Cette question est clôturée.

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by