Borrar filtros
Borrar filtros

Info

La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.

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

1 visualización (últimos 30 días)
SANKAR JYOTI NATH
SANKAR JYOTI NATH el 18 de Nov. de 2016
Cerrada: MATLAB Answer Bot el 20 de Ag. de 2021
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 comentarios
SANKAR JYOTI NATH
SANKAR JYOTI NATH el 18 de Nov. de 2016
length is 60, and yes dirlisting(1).name shows text file 0000.txt
KSSV
KSSV el 18 de Nov. de 2016
Then it should work, once you import data must have the file data in it.

Respuestas (0)

La pregunta está cerrada.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by