필터 지우기
필터 지우기

dear sir, I try to call text file window from my current directory without no need to manually change text file name. Then just clicking which one to be exist one my current folder?

조회 수: 1 (최근 30일)
cd('D:\coding\datawave');
fid=fopen('file_21.txt'); % how can I choose another file like file_13.txt to become more flexible without no need write it manually????
data=textscan(fid,'%s %s %s %f %f');
height=cell2mat(data(4));

채택된 답변

dpb
dpb 2015년 10월 15일
doc uigetfile % perhaps?

추가 답변 (1개)

Walter Roberson
Walter Roberson 2015년 10월 15일

카테고리

Help CenterFile Exchange에서 Low-Level File I/O에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by