필터 지우기
필터 지우기

Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

how to call a txt file from a folder by entering file name in edit box in GUI. the file name is same with the date of store the file

조회 수: 1 (최근 30일)
function inputdate_Callback(hObject, eventdata, handles) % hObject handle to inputdate (see GCBO) % eventdata reserved - to be defined in a future version of MATLAB % handles structure with handles and user data (see GUIDATA) % hObject handle to edit1 (see GCBO) % eventdata reserved - to be defined in a future version of MATLAB % handles structure with handles and user data (see GUIDATA)
x = get(handles.inputdate,'String'); %edit1 being Tag of ur edit box if isempty(x) fprintf('Error: Enter avalid date\n'); else file_path = uigetfile('*.txt') data = importdata(file_path); idr=data; Fr=idr(:,1); Hr=idr(:,2); Ar=idr(:,3); Fr=Fr./1000000; ......................................................................................................................

답변 (0개)

이 질문은 마감되었습니다.

태그

Community Treasure Hunt

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

Start Hunting!

Translated by