Hi, I'm a beginner in Matlab
I have made a program in Matlab on the Command Window to import a .csv file. The coding is (step 1):
y=csvimport('apnea.csv); %apnea is the name of file that I want to open
Well, it has worked and produced a variable (step 2) in the Workspace (with name: y, and value <1002x2cell> )
My question is how to connect the program in the Command Window to the Editor GUI:
% --- Executes on button press in Button_Open.
function Button_Open_Callback(hObject, eventdata, handles)% hObject handle to Button_Open (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
…???
so that when the push button is pressed, it will make the process of generating step 1 (import csv) and produced a variabel in step 2?? Have not found the way
Thanks
Best Answer