Import and read more than one .dat file using (for) loop
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Ali Kareem
le 4 Nov 2015
Réponse apportée : Image Analyst
le 4 Nov 2015
Hi,
How I can import (using importdata command) then read more than one .dat file using (for) loop
For example I have ten .dat files in one folder (lets say folder name is Result) and files are (v1.dat,v2.dat,.......,v10.dat)(files are different names)
In my program I want to have loop to import and read these files then calculate velocity.
For first time I want to import v1.dat to get the result then for second time I want to import v2.dat to get second result and so one for ten times.
How I can do that
Regards
0 commentaires
Réponse acceptée
Image Analyst
le 4 Nov 2015
Code samples are in the FAQ: http://matlab.wikia.com/wiki/FAQ#How_can_I_process_a_sequence_of_files.3F
0 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Data Import and Analysis dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!