Borrar filtros
Borrar filtros

Info

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

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 visualización (últimos 30 días)
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; ......................................................................................................................

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