フィルターのクリア

Info

この質問は閉じられています。 編集または回答するには再度開いてください。

unable to open a file from a folder........help

1 回表示 (過去 30 日間)
SANKAR JYOTI NATH
SANKAR JYOTI NATH 2016 年 11 月 18 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
yourFolder ='C:\Users\Parag\Desktop\open\files';
dirListing = dir([yourFolder '/*.txt*']);
baseFileName = dirListing(1).name;
data=importdata(baseFileName)
set(handles.display2,'string',data);
files are:
0000.txt
0010.txt
0020.txt
0030.txt ...................................
  10 件のコメント
SANKAR JYOTI NATH
SANKAR JYOTI NATH 2016 年 11 月 18 日
length is 60, and yes dirlisting(1).name shows text file 0000.txt
KSSV
KSSV 2016 年 11 月 18 日
Then it should work, once you import data must have the file data in it.

回答 (0 件)

この質問は閉じられています。

Community Treasure Hunt

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

Start Hunting!

Translated by