필터 지우기
필터 지우기

Import and read more than one .dat file using (for) loop

조회 수: 3 (최근 30일)
Ali Kareem
Ali Kareem 2015년 11월 4일
답변: Image Analyst 2015년 11월 4일
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

채택된 답변

Image Analyst
Image Analyst 2015년 11월 4일

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Data Import and Analysis에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by